Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ec63a10027 | |||
| 5ada69773c | |||
| 370d6e7e0a | |||
| 44dd5d5deb | |||
| 8d3ca5a281 | |||
| 1d5113d209 | |||
| f71e773a3a | |||
| 4921afe296 |
24
.drone.yml
24
.drone.yml
@@ -13,24 +13,18 @@ trigger:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install
|
- name: install
|
||||||
image: node:22
|
image: node:25
|
||||||
commands:
|
commands:
|
||||||
- corepack enable
|
|
||||||
- corepack prepare yarn@1.22.22 --activate
|
|
||||||
- yarn install --frozen-lockfile
|
- yarn install --frozen-lockfile
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
image: node:22
|
image: node:25
|
||||||
commands:
|
commands:
|
||||||
- corepack enable
|
|
||||||
- corepack prepare yarn@1.22.22 --activate
|
|
||||||
- yarn lint
|
- yarn lint
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: node:22
|
image: node:25
|
||||||
commands:
|
commands:
|
||||||
- corepack enable
|
|
||||||
- corepack prepare yarn@1.22.22 --activate
|
|
||||||
- yarn build
|
- yarn build
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -39,22 +33,18 @@ type: docker
|
|||||||
name: web-ui-publish
|
name: web-ui-publish
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
event:
|
event:
|
||||||
- promote
|
- tag
|
||||||
target:
|
ref:
|
||||||
- production
|
- refs/tags/v*
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: publish-npm
|
- name: publish-npm
|
||||||
image: node:22
|
image: node:25
|
||||||
environment:
|
environment:
|
||||||
NEXUS_NPM_TOKEN:
|
NEXUS_NPM_TOKEN:
|
||||||
from_secret: nexus_npm_token
|
from_secret: nexus_npm_token
|
||||||
commands:
|
commands:
|
||||||
- corepack enable
|
|
||||||
- corepack prepare yarn@1.22.22 --activate
|
|
||||||
- yarn install --frozen-lockfile
|
- yarn install --frozen-lockfile
|
||||||
- npm config set //nexus.beatrice.wtf/repository/npm-hosted/:_authToken "$NEXUS_NPM_TOKEN"
|
- npm config set //nexus.beatrice.wtf/repository/npm-hosted/:_authToken "$NEXUS_NPM_TOKEN"
|
||||||
- yarn publish:nexus
|
- yarn publish:nexus
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@panic/web-ui",
|
"name": "@panic/web-ui",
|
||||||
"version": "0.1.11",
|
"version": "0.1.16",
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
"description": "Core components for panic.haus web applications",
|
"description": "Core components for panic.haus web applications",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
--field-disabled-border: #3f3f46;
|
--field-disabled-border: #3f3f46;
|
||||||
--field-disabled-text: #bbb6c3;
|
--field-disabled-text: #bbb6c3;
|
||||||
--field-disabled-placeholder: #71717a;
|
--field-disabled-placeholder: #71717a;
|
||||||
|
--field-selection-bg: rgb(var(--accent-500) / 0.42);
|
||||||
|
--field-selection-text: var(--text-primary);
|
||||||
--ghost-bg: rgba(24, 24, 27, 0.5);
|
--ghost-bg: rgba(24, 24, 27, 0.5);
|
||||||
--ghost-border: #3f3f46;
|
--ghost-border: #3f3f46;
|
||||||
--ghost-hover: rgba(39, 39, 42, 0.7);
|
--ghost-hover: rgba(39, 39, 42, 0.7);
|
||||||
@@ -69,6 +71,8 @@
|
|||||||
--field-disabled-border: #d7d7d7;
|
--field-disabled-border: #d7d7d7;
|
||||||
--field-disabled-text: #71717a;
|
--field-disabled-text: #71717a;
|
||||||
--field-disabled-placeholder: #a1a1aa;
|
--field-disabled-placeholder: #a1a1aa;
|
||||||
|
--field-selection-bg: rgb(var(--accent-500) / 0.24);
|
||||||
|
--field-selection-text: var(--text-primary);
|
||||||
--ghost-bg: rgba(255, 255, 255, 0.88);
|
--ghost-bg: rgba(255, 255, 255, 0.88);
|
||||||
--ghost-border: #d4d4d8;
|
--ghost-border: #d4d4d8;
|
||||||
--ghost-hover: #f4f4f5;
|
--ghost-hover: #f4f4f5;
|
||||||
|
|||||||
@@ -24,6 +24,62 @@
|
|||||||
color: var(--text-soft);
|
color: var(--text-soft);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.field::selection {
|
||||||
|
background-color: var(--field-selection-bg);
|
||||||
|
color: var(--field-selection-text);
|
||||||
|
-webkit-text-fill-color: var(--field-selection-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
.field[type='date']::-webkit-datetime-edit-day-field,
|
||||||
|
.field[type='date']::-webkit-datetime-edit-month-field,
|
||||||
|
.field[type='date']::-webkit-datetime-edit-year-field,
|
||||||
|
.field[type='time']::-webkit-datetime-edit-hour-field,
|
||||||
|
.field[type='time']::-webkit-datetime-edit-minute-field,
|
||||||
|
.field[type='time']::-webkit-datetime-edit-ampm-field,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-day-field,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-month-field,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-year-field,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-hour-field,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-minute-field,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-ampm-field {
|
||||||
|
border-radius: 0.375rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.field[type='date']::-webkit-datetime-edit-day-field:focus,
|
||||||
|
.field[type='date']::-webkit-datetime-edit-month-field:focus,
|
||||||
|
.field[type='date']::-webkit-datetime-edit-year-field:focus,
|
||||||
|
.field[type='time']::-webkit-datetime-edit-hour-field:focus,
|
||||||
|
.field[type='time']::-webkit-datetime-edit-minute-field:focus,
|
||||||
|
.field[type='time']::-webkit-datetime-edit-ampm-field:focus,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-day-field:focus,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-month-field:focus,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-year-field:focus,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-hour-field:focus,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-minute-field:focus,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-ampm-field:focus {
|
||||||
|
border-radius: 0.375rem;
|
||||||
|
background-color: var(--field-selection-bg) !important;
|
||||||
|
color: var(--field-selection-text) !important;
|
||||||
|
-webkit-text-fill-color: var(--field-selection-text) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.field[type='date']::-webkit-datetime-edit-day-field::selection,
|
||||||
|
.field[type='date']::-webkit-datetime-edit-month-field::selection,
|
||||||
|
.field[type='date']::-webkit-datetime-edit-year-field::selection,
|
||||||
|
.field[type='time']::-webkit-datetime-edit-hour-field::selection,
|
||||||
|
.field[type='time']::-webkit-datetime-edit-minute-field::selection,
|
||||||
|
.field[type='time']::-webkit-datetime-edit-ampm-field::selection,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-day-field::selection,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-month-field::selection,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-year-field::selection,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-hour-field::selection,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-minute-field::selection,
|
||||||
|
.field[type='datetime-local']::-webkit-datetime-edit-ampm-field::selection {
|
||||||
|
background-color: var(--field-selection-bg);
|
||||||
|
color: var(--field-selection-text);
|
||||||
|
-webkit-text-fill-color: var(--field-selection-text);
|
||||||
|
}
|
||||||
|
|
||||||
.field:disabled {
|
.field:disabled {
|
||||||
border-color: var(--field-disabled-border);
|
border-color: var(--field-disabled-border);
|
||||||
background-color: var(--field-disabled-bg);
|
background-color: var(--field-disabled-bg);
|
||||||
|
|||||||
Reference in New Issue
Block a user