cetec-design-system 2.3.7 → 3.0.0
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/{cetec-preset-CZJA5UR0.js → cetec-preset-D23KFUx3.js} +115 -31
- package/dist/cetec-preset-D23KFUx3.js.map +1 -0
- package/dist/icon-metadata.json +447 -178
- package/dist/index.js +1292 -950
- package/dist/index.js.map +1 -1
- package/dist/panda.buildinfo.json +20 -11
- package/dist/playroom-static.css +8 -0
- package/dist/preset.js +1 -1
- package/dist/specs/color-palette.json +4 -0
- package/dist/specs/conditions.json +12 -0
- package/dist/specs/recipes.json +43 -17
- package/dist/specs/semantic-tokens.json +178 -0
- package/dist/specs/tokens.json +5 -0
- package/dist/sprite.svg +1 -1
- package/dist/sprite.symbol.html +463 -180
- package/dist/styles.css +998 -38
- package/dist/svgs/cheese.svg +1 -0
- package/dist/svgs/collapse-vertical.svg +1 -0
- package/dist/svgs/expand-vertical.svg +1 -0
- package/dist/svgs/magnet.svg +1 -0
- package/dist/svgs/to-date-backward.svg +1 -0
- package/dist/svgs/to-date-forward.svg +1 -0
- package/dist/types/index.d.ts +288 -56
- package/package.json +1 -1
- package/dist/cetec-preset-CZJA5UR0.js.map +0 -1
|
@@ -55,6 +55,7 @@ const conditions$1 = {
|
|
|
55
55
|
expanded: '&:is([aria-expanded=true], [data-expanded=true], [data-state="expanded"])',
|
|
56
56
|
collapsed: '&:is([aria-collapsed=true], [data-collapsed=true], [data-state="collapsed"])',
|
|
57
57
|
highlighted: "&[data-highlighted=true]",
|
|
58
|
+
new: "&[data-new=true]",
|
|
58
59
|
complete: "&[data-complete=true]",
|
|
59
60
|
incomplete: "&[data-incomplete=true]",
|
|
60
61
|
dragging: "&[data-dragging=true]",
|
|
@@ -4202,7 +4203,19 @@ const textVariants = {
|
|
|
4202
4203
|
},
|
|
4203
4204
|
underline: {
|
|
4204
4205
|
true: {
|
|
4205
|
-
textDecoration: "underline"
|
|
4206
|
+
textDecoration: "underline",
|
|
4207
|
+
textDecorationThickness: "[0.0625em]",
|
|
4208
|
+
textUnderlineOffset: "[0.15625em]",
|
|
4209
|
+
textDecorationSkipInk: "all"
|
|
4210
|
+
}
|
|
4211
|
+
},
|
|
4212
|
+
dashedUnderline: {
|
|
4213
|
+
true: {
|
|
4214
|
+
textDecoration: "underline",
|
|
4215
|
+
textDecorationStyle: "dashed",
|
|
4216
|
+
textDecorationThickness: "[0.0625em]",
|
|
4217
|
+
textUnderlineOffset: "[0.15625em]",
|
|
4218
|
+
textDecorationSkipInk: "all"
|
|
4206
4219
|
}
|
|
4207
4220
|
},
|
|
4208
4221
|
truncate: {
|
|
@@ -4251,36 +4264,30 @@ const linkBase = {
|
|
|
4251
4264
|
fontWeight: "medium",
|
|
4252
4265
|
gap: "1",
|
|
4253
4266
|
color: "link",
|
|
4254
|
-
textDecoration: "
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
outlineOffset: "1",
|
|
4263
|
-
width: "fit-content",
|
|
4264
|
-
cursor: "pointer",
|
|
4267
|
+
textDecoration: "underline",
|
|
4268
|
+
textDecorationThickness: "[0.0625em]",
|
|
4269
|
+
textUnderlineOffset: "[0.15625em]",
|
|
4270
|
+
textDecorationSkipInk: "all",
|
|
4271
|
+
textDecorationColor: "[color-mix(in srgb, currentColor 30%, transparent)]",
|
|
4272
|
+
transition: "all",
|
|
4273
|
+
transitionDuration: "fast",
|
|
4274
|
+
bg: "none",
|
|
4265
4275
|
_hover: {
|
|
4266
|
-
color: "link",
|
|
4267
|
-
|
|
4276
|
+
color: "link.pressed",
|
|
4277
|
+
textDecorationColor: "current",
|
|
4278
|
+
textDecorationThickness: "[0.125em]"
|
|
4268
4279
|
},
|
|
4269
4280
|
_focusVisible: {
|
|
4270
4281
|
borderRadius: "4",
|
|
4271
4282
|
outlineColor: "border.focused"
|
|
4272
|
-
}
|
|
4273
|
-
};
|
|
4274
|
-
const linkVariants = {
|
|
4275
|
-
...textVariants,
|
|
4283
|
+
},
|
|
4276
4284
|
_disabled: {
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
pointerEvents: "none"
|
|
4281
|
-
}
|
|
4285
|
+
cursor: "not-allowed",
|
|
4286
|
+
opacity: 0.4,
|
|
4287
|
+
pointerEvents: "none"
|
|
4282
4288
|
}
|
|
4283
4289
|
};
|
|
4290
|
+
const linkVariants = { ...textVariants };
|
|
4284
4291
|
const labelBase = {
|
|
4285
4292
|
fontSize: "16",
|
|
4286
4293
|
fontWeight: "normal",
|
|
@@ -5848,6 +5855,7 @@ const zIndex$1 = defineTokens.zIndex({
|
|
|
5848
5855
|
"1000": { value: 1e3 },
|
|
5849
5856
|
"1100": { value: 1100 },
|
|
5850
5857
|
"1101": { value: 1101 },
|
|
5858
|
+
"1102": { value: 1102 },
|
|
5851
5859
|
"1200": { value: 1200 }
|
|
5852
5860
|
});
|
|
5853
5861
|
const tokens = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -6574,7 +6582,6 @@ const menuBase = {
|
|
|
6574
6582
|
borderRadius: "4",
|
|
6575
6583
|
boxShadow: "overlay",
|
|
6576
6584
|
overflow: "hidden",
|
|
6577
|
-
zIndex: "100",
|
|
6578
6585
|
transitionProperty: "width, height",
|
|
6579
6586
|
transitionDuration: "normal",
|
|
6580
6587
|
transitionTimingFunction: "default",
|
|
@@ -6635,6 +6642,18 @@ const menuBase = {
|
|
|
6635
6642
|
}
|
|
6636
6643
|
};
|
|
6637
6644
|
const menuVariants = {
|
|
6645
|
+
layer: {
|
|
6646
|
+
elevated: {
|
|
6647
|
+
wrapper: {
|
|
6648
|
+
zIndex: "elevated"
|
|
6649
|
+
}
|
|
6650
|
+
},
|
|
6651
|
+
modalFloating: {
|
|
6652
|
+
wrapper: {
|
|
6653
|
+
zIndex: "modalFloating"
|
|
6654
|
+
}
|
|
6655
|
+
}
|
|
6656
|
+
},
|
|
6638
6657
|
density: {
|
|
6639
6658
|
compact: {
|
|
6640
6659
|
backHeader: {
|
|
@@ -6692,7 +6711,8 @@ const menuRecipe = defineSlotRecipe({
|
|
|
6692
6711
|
base: menuBase,
|
|
6693
6712
|
variants: menuVariants,
|
|
6694
6713
|
defaultVariants: {
|
|
6695
|
-
density: "compact"
|
|
6714
|
+
density: "compact",
|
|
6715
|
+
layer: "elevated"
|
|
6696
6716
|
}
|
|
6697
6717
|
});
|
|
6698
6718
|
const textInputBase = {
|
|
@@ -7422,6 +7442,7 @@ const chipRecipe = defineSlotRecipe({
|
|
|
7422
7442
|
position: "relative",
|
|
7423
7443
|
display: "inline-flex",
|
|
7424
7444
|
alignItems: "center",
|
|
7445
|
+
justifyContent: "center",
|
|
7425
7446
|
minW: "0",
|
|
7426
7447
|
flexShrink: "0",
|
|
7427
7448
|
bg: "transparent",
|
|
@@ -7870,7 +7891,7 @@ const modalVariants = {
|
|
|
7870
7891
|
};
|
|
7871
7892
|
const modalRecipe = defineSlotRecipe({
|
|
7872
7893
|
className: "modal",
|
|
7873
|
-
jsx: ["
|
|
7894
|
+
jsx: ["ModalWrapper", "ModalHeader", "ModalBody", "ModalFooter", "Modal"],
|
|
7874
7895
|
slots: [
|
|
7875
7896
|
"positionWrapper",
|
|
7876
7897
|
"overlay",
|
|
@@ -8365,7 +8386,13 @@ const autocompleteBase = {
|
|
|
8365
8386
|
token: {
|
|
8366
8387
|
minWidth: "0",
|
|
8367
8388
|
maxWidth: "full",
|
|
8368
|
-
flex: "0 1 auto"
|
|
8389
|
+
flex: "0 1 auto",
|
|
8390
|
+
_new: {
|
|
8391
|
+
bg: "transparent",
|
|
8392
|
+
outlineWidth: "1",
|
|
8393
|
+
outlineStyle: "dashed",
|
|
8394
|
+
outlineColor: "border.warning"
|
|
8395
|
+
}
|
|
8369
8396
|
},
|
|
8370
8397
|
overflowIndicator: {
|
|
8371
8398
|
display: "inline-flex",
|
|
@@ -8402,8 +8429,7 @@ const autocompleteBase = {
|
|
|
8402
8429
|
bg: "surface",
|
|
8403
8430
|
borderRadius: "4",
|
|
8404
8431
|
boxShadow: "overlay",
|
|
8405
|
-
outline: "none"
|
|
8406
|
-
zIndex: "elevated"
|
|
8432
|
+
outline: "none"
|
|
8407
8433
|
},
|
|
8408
8434
|
status: {
|
|
8409
8435
|
display: "flex",
|
|
@@ -8421,6 +8447,18 @@ const autocompleteBase = {
|
|
|
8421
8447
|
}
|
|
8422
8448
|
};
|
|
8423
8449
|
const autocompleteVariants = {
|
|
8450
|
+
layer: {
|
|
8451
|
+
elevated: {
|
|
8452
|
+
listbox: {
|
|
8453
|
+
zIndex: "elevated"
|
|
8454
|
+
}
|
|
8455
|
+
},
|
|
8456
|
+
modalFloating: {
|
|
8457
|
+
listbox: {
|
|
8458
|
+
zIndex: "modalFloating"
|
|
8459
|
+
}
|
|
8460
|
+
}
|
|
8461
|
+
},
|
|
8424
8462
|
size: {
|
|
8425
8463
|
sm: {
|
|
8426
8464
|
root: {
|
|
@@ -8486,7 +8524,8 @@ const autocompleteRecipe = defineSlotRecipe({
|
|
|
8486
8524
|
base: autocompleteBase,
|
|
8487
8525
|
variants: autocompleteVariants,
|
|
8488
8526
|
defaultVariants: {
|
|
8489
|
-
size: "md"
|
|
8527
|
+
size: "md",
|
|
8528
|
+
layer: "elevated"
|
|
8490
8529
|
}
|
|
8491
8530
|
});
|
|
8492
8531
|
const segmentedInputsBase = {
|
|
@@ -9172,6 +9211,17 @@ const colors = defineSemanticTokens.colors({
|
|
|
9172
9211
|
pressed: {
|
|
9173
9212
|
value: { base: "{colors.green.70}", _dark: "{colors.green.20}" }
|
|
9174
9213
|
}
|
|
9214
|
+
},
|
|
9215
|
+
subtle: {
|
|
9216
|
+
DEFAULT: {
|
|
9217
|
+
value: { base: "{colors.green.5}", _dark: "{colors.green.80}" }
|
|
9218
|
+
},
|
|
9219
|
+
hovered: {
|
|
9220
|
+
value: { base: "{colors.green.10}", _dark: "{colors.green.70}" }
|
|
9221
|
+
},
|
|
9222
|
+
pressed: {
|
|
9223
|
+
value: { base: "{colors.green.20}", _dark: "{colors.green.90}" }
|
|
9224
|
+
}
|
|
9175
9225
|
}
|
|
9176
9226
|
},
|
|
9177
9227
|
warning: {
|
|
@@ -9194,6 +9244,17 @@ const colors = defineSemanticTokens.colors({
|
|
|
9194
9244
|
pressed: {
|
|
9195
9245
|
value: { base: "{colors.orange.70}", _dark: "{colors.orange.50}" }
|
|
9196
9246
|
}
|
|
9247
|
+
},
|
|
9248
|
+
subtle: {
|
|
9249
|
+
DEFAULT: {
|
|
9250
|
+
value: { base: "{colors.orange.5}", _dark: "{colors.orange.80}" }
|
|
9251
|
+
},
|
|
9252
|
+
hovered: {
|
|
9253
|
+
value: { base: "{colors.orange.10}", _dark: "{colors.orange.70}" }
|
|
9254
|
+
},
|
|
9255
|
+
pressed: {
|
|
9256
|
+
value: { base: "{colors.orange.20}", _dark: "{colors.orange.90}" }
|
|
9257
|
+
}
|
|
9197
9258
|
}
|
|
9198
9259
|
},
|
|
9199
9260
|
danger: {
|
|
@@ -9212,6 +9273,17 @@ const colors = defineSemanticTokens.colors({
|
|
|
9212
9273
|
pressed: {
|
|
9213
9274
|
value: { base: "{colors.red.60}", _dark: "{colors.red.50}" }
|
|
9214
9275
|
}
|
|
9276
|
+
},
|
|
9277
|
+
subtle: {
|
|
9278
|
+
DEFAULT: {
|
|
9279
|
+
value: { base: "{colors.red.5}", _dark: "{colors.red.80}" }
|
|
9280
|
+
},
|
|
9281
|
+
hovered: {
|
|
9282
|
+
value: { base: "{colors.red.10}", _dark: "{colors.red.70}" }
|
|
9283
|
+
},
|
|
9284
|
+
pressed: {
|
|
9285
|
+
value: { base: "{colors.red.20}", _dark: "{colors.red.90}" }
|
|
9286
|
+
}
|
|
9215
9287
|
}
|
|
9216
9288
|
},
|
|
9217
9289
|
info: {
|
|
@@ -9234,6 +9306,17 @@ const colors = defineSemanticTokens.colors({
|
|
|
9234
9306
|
pressed: {
|
|
9235
9307
|
value: { base: "{colors.blue.70}", _dark: "{colors.blue.20}" }
|
|
9236
9308
|
}
|
|
9309
|
+
},
|
|
9310
|
+
subtle: {
|
|
9311
|
+
DEFAULT: {
|
|
9312
|
+
value: { base: "{colors.blue.5}", _dark: "{colors.blue.80}" }
|
|
9313
|
+
},
|
|
9314
|
+
hovered: {
|
|
9315
|
+
value: { base: "{colors.blue.10}", _dark: "{colors.blue.70}" }
|
|
9316
|
+
},
|
|
9317
|
+
pressed: {
|
|
9318
|
+
value: { base: "{colors.blue.20}", _dark: "{colors.blue.90}" }
|
|
9319
|
+
}
|
|
9237
9320
|
}
|
|
9238
9321
|
},
|
|
9239
9322
|
cta: {
|
|
@@ -10436,6 +10519,7 @@ const zIndex = defineSemanticTokens.zIndex({
|
|
|
10436
10519
|
elevated: { value: "{zIndex.1000}" },
|
|
10437
10520
|
overlay: { value: "{zIndex.1100}" },
|
|
10438
10521
|
modal: { value: "{zIndex.1101}" },
|
|
10522
|
+
modalFloating: { value: "{zIndex.1102}" },
|
|
10439
10523
|
tooltip: { value: "{zIndex.1200}" }
|
|
10440
10524
|
});
|
|
10441
10525
|
const presetRecipes = Object.fromEntries(
|
|
@@ -10525,4 +10609,4 @@ export {
|
|
|
10525
10609
|
breakpoints as b,
|
|
10526
10610
|
containerSizes as c
|
|
10527
10611
|
};
|
|
10528
|
-
//# sourceMappingURL=cetec-preset-
|
|
10612
|
+
//# sourceMappingURL=cetec-preset-D23KFUx3.js.map
|