@okshaun/components 4.0.0 → 4.1.1
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/index.js +2 -2
- package/dist/playroom-static.css +2 -2
- package/dist/{preset-BOFHjPdQ.js → preset-DYHEi5di.js} +40 -36
- package/dist/{preset-BOFHjPdQ.js.map → preset-DYHEi5di.js.map} +1 -1
- package/dist/preset.js +1 -1
- package/dist/specs/semantic-tokens.json +33 -33
- package/dist/sprite.symbol.html +1 -1
- package/dist/styles.css +40 -40
- package/package.json +1 -1
- package/src/recipes/formField.ts +1 -1
- package/src/styles/semantics/colors.ts +38 -34
package/dist/index.js
CHANGED
|
@@ -18,8 +18,8 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
18
18
|
import * as React from "react";
|
|
19
19
|
import React__default, { useLayoutEffect, forwardRef, useMemo, createElement, createContext, useContext, useRef, useEffect, useState, useCallback, Children, isValidElement, useId as useId$1, useSyncExternalStore, cloneElement, useReducer } from "react";
|
|
20
20
|
import * as ReactDOM from "react-dom";
|
|
21
|
-
import { c as containerSizes, b as breakpoints } from "./preset-
|
|
22
|
-
import { o } from "./preset-
|
|
21
|
+
import { c as containerSizes, b as breakpoints } from "./preset-DYHEi5di.js";
|
|
22
|
+
import { o } from "./preset-DYHEi5di.js";
|
|
23
23
|
function hasWindow() {
|
|
24
24
|
return typeof window !== "undefined";
|
|
25
25
|
}
|
package/dist/playroom-static.css
CHANGED
|
@@ -4640,7 +4640,7 @@
|
|
|
4640
4640
|
align-items: start;
|
|
4641
4641
|
}
|
|
4642
4642
|
|
|
4643
|
-
.cetec-formField__labelWrapper--size_sm [class
|
|
4643
|
+
.cetec-formField__labelWrapper--size_sm [class*=-label] {
|
|
4644
4644
|
font-size: var(--cetec-font-sizes-14);
|
|
4645
4645
|
line-height: var(--cetec-line-heights-tight);
|
|
4646
4646
|
}
|
|
@@ -187429,4 +187429,4 @@
|
|
|
187429
187429
|
padding-left: calc(var(--cetec-spacing-auto) * -1);
|
|
187430
187430
|
}
|
|
187431
187431
|
}
|
|
187432
|
-
}
|
|
187432
|
+
}
|
|
@@ -7224,7 +7224,7 @@ const formFieldVariants = {
|
|
|
7224
7224
|
size: {
|
|
7225
7225
|
sm: {
|
|
7226
7226
|
labelWrapper: {
|
|
7227
|
-
"& [class
|
|
7227
|
+
"& [class*=-label]": {
|
|
7228
7228
|
fontSize: "14",
|
|
7229
7229
|
lineHeight: "tight"
|
|
7230
7230
|
}
|
|
@@ -9346,17 +9346,17 @@ const colors = defineSemanticTokens.colors({
|
|
|
9346
9346
|
}
|
|
9347
9347
|
},
|
|
9348
9348
|
selected: {
|
|
9349
|
-
value: { base: "{colors.blue.
|
|
9349
|
+
value: { base: "{colors.blue.70}", _dark: "{colors.blue.40}" }
|
|
9350
9350
|
},
|
|
9351
9351
|
input: {
|
|
9352
9352
|
value: { base: "{colors.neutral.50}", _dark: "{colors.darkNeutral.60}" }
|
|
9353
9353
|
},
|
|
9354
|
-
success: { value: { base: "{colors.lime.
|
|
9354
|
+
success: { value: { base: "{colors.lime.60}", _dark: "{colors.lime.50}" } },
|
|
9355
9355
|
warning: {
|
|
9356
|
-
value: { base: "{colors.orange.
|
|
9356
|
+
value: { base: "{colors.orange.60}", _dark: "{colors.orange.50}" }
|
|
9357
9357
|
},
|
|
9358
|
-
danger: { value: { base: "{colors.red.
|
|
9359
|
-
info: { value: { base: "{colors.blue.
|
|
9358
|
+
danger: { value: { base: "{colors.red.60}", _dark: "{colors.red.50}" } },
|
|
9359
|
+
info: { value: { base: "{colors.blue.60}", _dark: "{colors.blue.50}" } }
|
|
9360
9360
|
},
|
|
9361
9361
|
icon: {
|
|
9362
9362
|
DEFAULT: {
|
|
@@ -9375,7 +9375,7 @@ const colors = defineSemanticTokens.colors({
|
|
|
9375
9375
|
value: { base: "{colors.neutral.0}", _dark: "{colors.darkNeutral.10}" }
|
|
9376
9376
|
},
|
|
9377
9377
|
selected: {
|
|
9378
|
-
value: { base: "{colors.blue.
|
|
9378
|
+
value: { base: "{colors.blue.70}", _dark: "{colors.blue.40}" }
|
|
9379
9379
|
},
|
|
9380
9380
|
disabled: {
|
|
9381
9381
|
value: {
|
|
@@ -9428,13 +9428,15 @@ const colors = defineSemanticTokens.colors({
|
|
|
9428
9428
|
},
|
|
9429
9429
|
danger: {
|
|
9430
9430
|
DEFAULT: { value: { base: "{colors.red.70}", _dark: "{colors.red.50}" } },
|
|
9431
|
-
inverse: {
|
|
9431
|
+
inverse: {
|
|
9432
|
+
value: { base: "{colors.red.10}", _dark: "{colors.red.70}" }
|
|
9433
|
+
}
|
|
9432
9434
|
},
|
|
9433
9435
|
info: { value: { base: "{colors.blue.60}", _dark: "{colors.blue.50}" } }
|
|
9434
9436
|
},
|
|
9435
9437
|
link: {
|
|
9436
|
-
DEFAULT: { value: { base: "{colors.blue.
|
|
9437
|
-
pressed: { value: { base: "{colors.blue.
|
|
9438
|
+
DEFAULT: { value: { base: "{colors.blue.70}", _dark: "{colors.blue.40}" } },
|
|
9439
|
+
pressed: { value: { base: "{colors.blue.80}", _dark: "{colors.blue.50}" } }
|
|
9438
9440
|
},
|
|
9439
9441
|
// Shadow layer colors. These were primitives holding explicit `.light` and
|
|
9440
9442
|
// `.dark` leaves, which forced every shadow to exist twice. As semantic
|
|
@@ -9575,10 +9577,10 @@ const colors = defineSemanticTokens.colors({
|
|
|
9575
9577
|
}
|
|
9576
9578
|
},
|
|
9577
9579
|
selected: {
|
|
9578
|
-
value: { base: "{colors.blue.
|
|
9580
|
+
value: { base: "{colors.blue.70}", _dark: "{colors.blue.40}" }
|
|
9579
9581
|
},
|
|
9580
9582
|
placeholder: {
|
|
9581
|
-
value: { base: "{colors.neutral.
|
|
9583
|
+
value: { base: "{colors.neutral.70}", _dark: "{colors.darkNeutral.70}" }
|
|
9582
9584
|
},
|
|
9583
9585
|
disabled: {
|
|
9584
9586
|
value: {
|
|
@@ -9588,7 +9590,7 @@ const colors = defineSemanticTokens.colors({
|
|
|
9588
9590
|
},
|
|
9589
9591
|
success: {
|
|
9590
9592
|
DEFAULT: {
|
|
9591
|
-
value: { base: "{colors.lime.
|
|
9593
|
+
value: { base: "{colors.lime.80}", _dark: "{colors.lime.30}" }
|
|
9592
9594
|
},
|
|
9593
9595
|
inverse: {
|
|
9594
9596
|
value: { base: "{colors.lime.30}", _dark: "{colors.lime.50}" }
|
|
@@ -9596,19 +9598,21 @@ const colors = defineSemanticTokens.colors({
|
|
|
9596
9598
|
},
|
|
9597
9599
|
warning: {
|
|
9598
9600
|
DEFAULT: {
|
|
9599
|
-
value: { base: "{colors.orange.
|
|
9601
|
+
value: { base: "{colors.orange.80}", _dark: "{colors.orange.40}" }
|
|
9600
9602
|
},
|
|
9601
9603
|
inverse: {
|
|
9602
9604
|
value: { base: "{colors.orange.40}", _dark: "{colors.orange.60}" }
|
|
9603
9605
|
}
|
|
9604
9606
|
},
|
|
9605
9607
|
danger: {
|
|
9606
|
-
DEFAULT: { value: { base: "{colors.red.
|
|
9607
|
-
inverse: {
|
|
9608
|
+
DEFAULT: { value: { base: "{colors.red.80}", _dark: "{colors.red.30}" } },
|
|
9609
|
+
inverse: {
|
|
9610
|
+
value: { base: "{colors.red.30}", _dark: "{colors.red.50}" }
|
|
9611
|
+
}
|
|
9608
9612
|
},
|
|
9609
9613
|
info: {
|
|
9610
9614
|
DEFAULT: {
|
|
9611
|
-
value: { base: "{colors.blue.
|
|
9615
|
+
value: { base: "{colors.blue.80}", _dark: "{colors.blue.40}" }
|
|
9612
9616
|
},
|
|
9613
9617
|
inverse: {
|
|
9614
9618
|
value: { base: "{colors.blue.40}", _dark: "{colors.blue.50}" }
|
|
@@ -9631,15 +9635,15 @@ const colors = defineSemanticTokens.colors({
|
|
|
9631
9635
|
},
|
|
9632
9636
|
red: {
|
|
9633
9637
|
DEFAULT: {
|
|
9634
|
-
value: { base: "{colors.red.
|
|
9638
|
+
value: { base: "{colors.red.70}", _dark: "{colors.red.30}" }
|
|
9635
9639
|
},
|
|
9636
9640
|
bold: {
|
|
9637
|
-
value: { base: "{colors.red.
|
|
9641
|
+
value: { base: "{colors.red.70}", _dark: "{colors.red.20}" }
|
|
9638
9642
|
}
|
|
9639
9643
|
},
|
|
9640
9644
|
orange: {
|
|
9641
9645
|
DEFAULT: {
|
|
9642
|
-
value: { base: "{colors.orange.
|
|
9646
|
+
value: { base: "{colors.orange.70}", _dark: "{colors.orange.50}" }
|
|
9643
9647
|
},
|
|
9644
9648
|
bold: {
|
|
9645
9649
|
value: { base: "{colors.orange.70}", _dark: "{colors.orange.30}" }
|
|
@@ -9647,47 +9651,47 @@ const colors = defineSemanticTokens.colors({
|
|
|
9647
9651
|
},
|
|
9648
9652
|
yellow: {
|
|
9649
9653
|
DEFAULT: {
|
|
9650
|
-
value: { base: "{colors.yellow.
|
|
9654
|
+
value: { base: "{colors.yellow.80}", _dark: "{colors.yellow.30}" }
|
|
9651
9655
|
},
|
|
9652
9656
|
bold: {
|
|
9653
|
-
value: { base: "{colors.yellow.
|
|
9657
|
+
value: { base: "{colors.yellow.80}", _dark: "{colors.yellow.20}" }
|
|
9654
9658
|
}
|
|
9655
9659
|
},
|
|
9656
9660
|
lime: {
|
|
9657
9661
|
DEFAULT: {
|
|
9658
|
-
value: { base: "{colors.lime.
|
|
9662
|
+
value: { base: "{colors.lime.70}", _dark: "{colors.lime.40}" }
|
|
9659
9663
|
},
|
|
9660
9664
|
bold: {
|
|
9661
|
-
value: { base: "{colors.lime.
|
|
9665
|
+
value: { base: "{colors.lime.70}", _dark: "{colors.lime.20}" }
|
|
9662
9666
|
}
|
|
9663
9667
|
},
|
|
9664
9668
|
green: {
|
|
9665
9669
|
DEFAULT: {
|
|
9666
|
-
value: { base: "{colors.green.
|
|
9670
|
+
value: { base: "{colors.green.70}", _dark: "{colors.green.40}" }
|
|
9667
9671
|
},
|
|
9668
9672
|
bold: {
|
|
9669
|
-
value: { base: "{colors.green.
|
|
9673
|
+
value: { base: "{colors.green.70}", _dark: "{colors.green.20}" }
|
|
9670
9674
|
}
|
|
9671
9675
|
},
|
|
9672
9676
|
teal: {
|
|
9673
9677
|
DEFAULT: {
|
|
9674
|
-
value: { base: "{colors.teal.
|
|
9678
|
+
value: { base: "{colors.teal.70}", _dark: "{colors.teal.40}" }
|
|
9675
9679
|
},
|
|
9676
9680
|
bold: {
|
|
9677
|
-
value: { base: "{colors.teal.
|
|
9681
|
+
value: { base: "{colors.teal.70}", _dark: "{colors.teal.20}" }
|
|
9678
9682
|
}
|
|
9679
9683
|
},
|
|
9680
9684
|
blue: {
|
|
9681
9685
|
DEFAULT: {
|
|
9682
|
-
value: { base: "{colors.blue.
|
|
9686
|
+
value: { base: "{colors.blue.70}", _dark: "{colors.blue.40}" }
|
|
9683
9687
|
},
|
|
9684
9688
|
bold: {
|
|
9685
|
-
value: { base: "{colors.blue.
|
|
9689
|
+
value: { base: "{colors.blue.70}", _dark: "{colors.blue.30}" }
|
|
9686
9690
|
}
|
|
9687
9691
|
},
|
|
9688
9692
|
indigo: {
|
|
9689
9693
|
DEFAULT: {
|
|
9690
|
-
value: { base: "{colors.indigo.
|
|
9694
|
+
value: { base: "{colors.indigo.60}", _dark: "{colors.indigo.20}" }
|
|
9691
9695
|
},
|
|
9692
9696
|
bold: {
|
|
9693
9697
|
value: { base: "{colors.indigo.60}", _dark: "{colors.indigo.10}" }
|
|
@@ -9695,15 +9699,15 @@ const colors = defineSemanticTokens.colors({
|
|
|
9695
9699
|
},
|
|
9696
9700
|
purple: {
|
|
9697
9701
|
DEFAULT: {
|
|
9698
|
-
value: { base: "{colors.purple.
|
|
9702
|
+
value: { base: "{colors.purple.70}", _dark: "{colors.purple.40}" }
|
|
9699
9703
|
},
|
|
9700
9704
|
bold: {
|
|
9701
|
-
value: { base: "{colors.purple.
|
|
9705
|
+
value: { base: "{colors.purple.70}", _dark: "{colors.purple.30}" }
|
|
9702
9706
|
}
|
|
9703
9707
|
},
|
|
9704
9708
|
magenta: {
|
|
9705
9709
|
DEFAULT: {
|
|
9706
|
-
value: { base: "{colors.magenta.
|
|
9710
|
+
value: { base: "{colors.magenta.70}", _dark: "{colors.magenta.40}" }
|
|
9707
9711
|
},
|
|
9708
9712
|
bold: {
|
|
9709
9713
|
value: { base: "{colors.magenta.70}", _dark: "{colors.magenta.30}" }
|
|
@@ -9711,7 +9715,7 @@ const colors = defineSemanticTokens.colors({
|
|
|
9711
9715
|
},
|
|
9712
9716
|
tan: {
|
|
9713
9717
|
DEFAULT: {
|
|
9714
|
-
value: { base: "{colors.tan.
|
|
9718
|
+
value: { base: "{colors.tan.60}", _dark: "{colors.tan.30}" }
|
|
9715
9719
|
},
|
|
9716
9720
|
bold: {
|
|
9717
9721
|
value: { base: "{colors.tan.60}", _dark: "{colors.tan.20}" }
|
|
@@ -9858,4 +9862,4 @@ export {
|
|
|
9858
9862
|
containerSizes as c,
|
|
9859
9863
|
okshaunPreset as o
|
|
9860
9864
|
};
|
|
9861
|
-
//# sourceMappingURL=preset-
|
|
9865
|
+
//# sourceMappingURL=preset-DYHEi5di.js.map
|