@sigx/zero-daisyui 0.2.0-beta.1 → 0.2.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/components/progress.css +8 -0
- package/dist/css/components/select.css +12 -0
- package/dist/css/components/slider.css +10 -0
- package/dist/css/index.css +30 -0
- package/dist/lynx/components/accordion.css +160 -0
- package/dist/lynx/components/alert.css +160 -0
- package/dist/lynx/components/avatar.css +5 -0
- package/dist/lynx/components/breadcrumbs.css +200 -0
- package/dist/lynx/components/button.css +180 -0
- package/dist/lynx/components/card.css +52 -0
- package/dist/lynx/components/carousel.css +162 -2
- package/dist/lynx/components/chat.css +40 -0
- package/dist/lynx/components/checkbox.css +7 -0
- package/dist/lynx/components/collapsible.css +160 -0
- package/dist/lynx/components/combobox.css +21 -0
- package/dist/lynx/components/countdown.css +160 -0
- package/dist/lynx/components/dialog.css +34 -0
- package/dist/lynx/components/diff.css +181 -0
- package/dist/lynx/components/divider.css +8 -0
- package/dist/lynx/components/drawer.css +12 -1
- package/dist/lynx/components/field.css +180 -0
- package/dist/lynx/components/file-upload.css +202 -0
- package/dist/lynx/components/input.css +37 -0
- package/dist/lynx/components/kbd.css +1 -0
- package/dist/lynx/components/menu.css +10 -0
- package/dist/lynx/components/native-select.css +30 -0
- package/dist/lynx/components/number-input.css +37 -0
- package/dist/lynx/components/pagination.css +33 -0
- package/dist/lynx/components/popover.css +12 -0
- package/dist/lynx/components/progress.css +220 -0
- package/dist/lynx/components/radial-progress.css +62 -0
- package/dist/lynx/components/radio-group.css +10 -0
- package/dist/lynx/components/rating-group.css +240 -0
- package/dist/lynx/components/select.css +32 -0
- package/dist/lynx/components/skeleton.css +160 -0
- package/dist/lynx/components/slider.css +22 -0
- package/dist/lynx/components/spinner.css +18 -0
- package/dist/lynx/components/stats.css +40 -0
- package/dist/lynx/components/status.css +18 -0
- package/dist/lynx/components/steps.css +236 -0
- package/dist/lynx/components/swap.css +160 -0
- package/dist/lynx/components/switch.css +41 -0
- package/dist/lynx/components/table.css +201 -0
- package/dist/lynx/components/tabs.css +21 -0
- package/dist/lynx/components/textarea.css +25 -0
- package/dist/lynx/components/timeline.css +18 -0
- package/dist/lynx/components/toast.css +0 -1
- package/dist/lynx/components/tooltip.css +10 -0
- package/dist/lynx/index.css +3707 -79
- package/dist/lynx/manifest.json +33 -9
- package/dist/lynx/tokens.css +14 -0
- package/dist/manifest.json +32 -8
- package/dist/recipes.d.ts.map +1 -1
- package/dist/recipes.js +30 -0
- package/dist/recipes.js.map +1 -1
- package/dist/report.json +245 -2071
- package/package.json +6 -6
- package/src/recipes.ts +30 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sigx/zero-daisyui",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.3",
|
|
4
4
|
"description": "DaisyUI-flavored design system for SignalX Zero — daisy's token values and component look as a pure tokens+recipes skin over @sigx/zero primitives. No Tailwind, no daisyUI plugin required.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|
|
39
|
-
"url": "git+https://github.com/
|
|
39
|
+
"url": "git+https://github.com/andtii/zero-wip.git",
|
|
40
40
|
"directory": "packages/zero-daisyui"
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://sigx.dev/zero/",
|
|
43
43
|
"bugs": {
|
|
44
|
-
"url": "https://github.com/
|
|
44
|
+
"url": "https://github.com/andtii/zero-wip/issues"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@sigx/zero": "^0.2.0-beta.
|
|
47
|
+
"@sigx/zero": "^0.2.0-beta.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"typescript": "^6.0.3",
|
|
51
|
-
"@sigx/zero": "^0.2.0-beta.
|
|
52
|
-
"@sigx/zero-kit": "^0.2.0-beta.
|
|
51
|
+
"@sigx/zero": "^0.2.0-beta.3",
|
|
52
|
+
"@sigx/zero-kit": "^0.2.0-beta.3"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
package/src/recipes.ts
CHANGED
|
@@ -264,6 +264,11 @@ export const tabs: RecipeInput = {
|
|
|
264
264
|
]),
|
|
265
265
|
),
|
|
266
266
|
},
|
|
267
|
+
// Size only: `md: {}` emits nothing, so this changes no CSS — it states
|
|
268
|
+
// the default for the manifest (signalxjs/lynx#1070). Deliberately no
|
|
269
|
+
// `color` default: the un-attributed active tab is a neutral base-100
|
|
270
|
+
// pill, which is outside the color vocabulary.
|
|
271
|
+
defaultVariants: { size: 'md' },
|
|
267
272
|
};
|
|
268
273
|
|
|
269
274
|
/**
|
|
@@ -359,6 +364,10 @@ export const collapsible: RecipeInput = {
|
|
|
359
364
|
} } }])),
|
|
360
365
|
size: disclosureSizes,
|
|
361
366
|
},
|
|
367
|
+
// Size only: `md: {}` emits nothing, so no CSS changes — manifest fact for
|
|
368
|
+
// signalxjs/lynx#1070. No `color` default: the un-attributed accent is
|
|
369
|
+
// base-content ink, outside the color vocabulary.
|
|
370
|
+
defaultVariants: { size: 'md' },
|
|
362
371
|
};
|
|
363
372
|
|
|
364
373
|
// daisy "toggle" flavor.
|
|
@@ -1361,6 +1370,11 @@ export const progress: RecipeInput = {
|
|
|
1361
1370
|
xl: { root: { base: { '--progress-track-size': 'calc(var(--size-selector) * 4.5)' } } },
|
|
1362
1371
|
},
|
|
1363
1372
|
},
|
|
1373
|
+
// The base already IS this render — `tokens:` binds the primary accent and
|
|
1374
|
+
// the md track size — so the web `:not()` twins only restate it. Declared
|
|
1375
|
+
// so the manifest states the default for runtimes with no `:not()`
|
|
1376
|
+
// fallback (the lynx target; signalxjs/lynx#1070).
|
|
1377
|
+
defaultVariants: { color: 'primary', size: 'md' },
|
|
1364
1378
|
keyframes: {
|
|
1365
1379
|
// Logical, so the sweep runs the way the bar fills — `margin-inline-start`
|
|
1366
1380
|
// is animatable and direction-aware on its own. The determinate `width`,
|
|
@@ -1474,6 +1488,11 @@ export const slider: RecipeInput = {
|
|
|
1474
1488
|
xl: { control: { base: { height: 'calc(var(--size-selector) * 8)' } }, label: { base: { fontSize: 'var(--text-lg)' } } },
|
|
1475
1489
|
},
|
|
1476
1490
|
},
|
|
1491
|
+
// Base equals the default — `tokens:` binds the primary accent, and `md`
|
|
1492
|
+
// only restates the label font-size the base already declares (the
|
|
1493
|
+
// control's base height IS the middle step) — so the twins restate it;
|
|
1494
|
+
// declared for the manifest (signalxjs/lynx#1070).
|
|
1495
|
+
defaultVariants: { color: 'primary', size: 'md' },
|
|
1477
1496
|
skipStates: { root: ['invalid', 'focus-visible'] },
|
|
1478
1497
|
};
|
|
1479
1498
|
|
|
@@ -1543,6 +1562,10 @@ export const accordion: RecipeInput = {
|
|
|
1543
1562
|
} } }])),
|
|
1544
1563
|
size: disclosureSizes,
|
|
1545
1564
|
},
|
|
1565
|
+
// Size only: `md: {}` emits nothing, so no CSS changes — manifest fact for
|
|
1566
|
+
// signalxjs/lynx#1070. No `color` default: the un-attributed accent is
|
|
1567
|
+
// base-content ink, outside the color vocabulary.
|
|
1568
|
+
defaultVariants: { size: 'md' },
|
|
1546
1569
|
};
|
|
1547
1570
|
|
|
1548
1571
|
/**
|
|
@@ -1683,6 +1706,9 @@ export const select: RecipeInput = {
|
|
|
1683
1706
|
xl: { trigger: { base: { height: fieldHeight('xl'), paddingInline: 'calc(var(--size-field) * 6)', fontSize: 'var(--text-lg)' } } },
|
|
1684
1707
|
},
|
|
1685
1708
|
},
|
|
1709
|
+
// Base equals the default (`tokens:` accent, `fieldControl`'s md height),
|
|
1710
|
+
// so the twins restate it; declared for the manifest (signalxjs/lynx#1070).
|
|
1711
|
+
defaultVariants: { color: 'primary', size: 'md' },
|
|
1686
1712
|
};
|
|
1687
1713
|
|
|
1688
1714
|
|
|
@@ -2113,6 +2139,10 @@ export const toast: RecipeInput = {
|
|
|
2113
2139
|
},
|
|
2114
2140
|
},
|
|
2115
2141
|
},
|
|
2142
|
+
// Size only: `md: {}` emits nothing, so no CSS changes — manifest fact for
|
|
2143
|
+
// signalxjs/lynx#1070. No `color` default: the un-attributed toast is a
|
|
2144
|
+
// neutral base-200 surface, outside the color vocabulary.
|
|
2145
|
+
defaultVariants: { size: 'md' },
|
|
2116
2146
|
};
|
|
2117
2147
|
|
|
2118
2148
|
export const combobox: RecipeInput = {
|