@k8slens/lds-tokens 0.2.6 → 0.2.7

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.
Files changed (39) hide show
  1. package/lib/docs/token-map.dark.d.ts +1 -1
  2. package/lib/docs/token-map.dark.js +178 -43
  3. package/lib/docs/token-map.light.d.ts +1 -1
  4. package/lib/docs/token-map.light.js +178 -43
  5. package/lib/electron/font-face.css +1 -1
  6. package/lib/electron/icons/action.js +1 -1
  7. package/lib/electron/icons/base.js +1 -1
  8. package/lib/electron/icons/idp.js +1 -1
  9. package/lib/electron/icons/misc.js +1 -1
  10. package/lib/electron/icons/navigation.js +1 -1
  11. package/lib/electron/images/index.js +1 -1
  12. package/lib/electron/tokens.dark.css +18 -9
  13. package/lib/electron/tokens.dark.js +18 -9
  14. package/lib/electron/tokens.dark.scoped.css +1 -1
  15. package/lib/electron/tokens.dark.ts +18 -9
  16. package/lib/electron/tokens.light.css +18 -9
  17. package/lib/electron/tokens.light.js +18 -9
  18. package/lib/electron/tokens.light.scoped.css +1 -1
  19. package/lib/electron/tokens.light.ts +18 -9
  20. package/lib/web/colors/dark.js +1 -1
  21. package/lib/web/colors/light.js +1 -1
  22. package/lib/web/font-imports.css +1 -1
  23. package/lib/web/icons/action.js +1 -1
  24. package/lib/web/icons/base.js +1 -1
  25. package/lib/web/icons/idp.js +1 -1
  26. package/lib/web/icons/misc.js +1 -1
  27. package/lib/web/icons/navigation.js +1 -1
  28. package/lib/web/images/index.js +1 -1
  29. package/lib/web/tailwind.config.cjs +1 -1
  30. package/lib/web/tailwind.config.js +1 -1
  31. package/lib/web/tokens.dark.css +18 -9
  32. package/lib/web/tokens.dark.js +18 -9
  33. package/lib/web/tokens.dark.scoped.css +1 -1
  34. package/lib/web/tokens.dark.ts +18 -9
  35. package/lib/web/tokens.light.css +18 -9
  36. package/lib/web/tokens.light.js +18 -9
  37. package/lib/web/tokens.light.scoped.css +1 -1
  38. package/lib/web/tokens.light.ts +18 -9
  39. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Nov 2022 16:04:29 GMT
3
+ * Generated on Tue, 29 Nov 2022 14:32:45 GMT
4
4
  */
5
5
 
6
6
  export type PackageDetails = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Nov 2022 16:04:29 GMT
3
+ * Generated on Tue, 29 Nov 2022 14:32:45 GMT
4
4
  */
5
5
 
6
6
  const tokenMap = {
@@ -1813,6 +1813,32 @@ const tokenMap = {
1813
1813
  }
1814
1814
  }
1815
1815
  },
1816
+ "form": {
1817
+ "field": {
1818
+ "label": {
1819
+ "path": "color.font.form.field.label",
1820
+ "name": "ColorFontFormFieldLabel",
1821
+ "code": "$color-font-form-field-label",
1822
+ "variable": "color-font-form-field-label",
1823
+ "value": "hsl(206deg, 6%, 55%)",
1824
+ "attributes": {},
1825
+ "inherits": [
1826
+ "alias.color.text.primary"
1827
+ ]
1828
+ },
1829
+ "error": {
1830
+ "path": "color.font.form.field.error",
1831
+ "name": "ColorFontFormFieldError",
1832
+ "code": "$color-font-form-field-error",
1833
+ "variable": "color-font-form-field-error",
1834
+ "value": "hsl(359, 100%, 60%)",
1835
+ "attributes": {},
1836
+ "inherits": [
1837
+ "alias.color.danger"
1838
+ ]
1839
+ }
1840
+ }
1841
+ },
1816
1842
  "input": {
1817
1843
  "default": {
1818
1844
  "path": "color.font.input.default",
@@ -2242,10 +2268,10 @@ const tokenMap = {
2242
2268
  },
2243
2269
  "inherits": [],
2244
2270
  "inheritedBy": [
2245
- "spacing.input.padding.inline.end",
2271
+ "spacing.input.with-icon.inline.end",
2246
2272
  "typography.base.size.5xl",
2247
2273
  "size.button.height",
2248
- "size.input.height"
2274
+ "size.input.block-size"
2249
2275
  ]
2250
2276
  },
2251
2277
  "12": {
@@ -2535,7 +2561,10 @@ const tokenMap = {
2535
2561
  "spacing.0.5"
2536
2562
  ]
2537
2563
  },
2538
- "inherits": []
2564
+ "inherits": [],
2565
+ "inheritedBy": [
2566
+ "spacing.base.xxs"
2567
+ ]
2539
2568
  },
2540
2569
  "0-75": {
2541
2570
  "path": "spacing.base.0-75",
@@ -2615,8 +2644,8 @@ const tokenMap = {
2615
2644
  },
2616
2645
  "inherits": [],
2617
2646
  "inheritedBy": [
2618
- "spacing.input-icon.margin.x",
2619
- "spacing.input-icon.margin.y"
2647
+ "spacing.input-icon.inset.inline",
2648
+ "spacing.input-icon.inset.block"
2620
2649
  ]
2621
2650
  },
2622
2651
  "2-75": {
@@ -2729,6 +2758,24 @@ const tokenMap = {
2729
2758
  },
2730
2759
  "inherits": []
2731
2760
  },
2761
+ "xxs": {
2762
+ "path": "spacing.base.xxs",
2763
+ "name": "SpacingBaseXxs",
2764
+ "code": "$spacing-base-xxs",
2765
+ "variable": "spacing-base-xxs",
2766
+ "value": "0.125rem",
2767
+ "attributes": {
2768
+ "tailwind": [
2769
+ "spacing.xs"
2770
+ ]
2771
+ },
2772
+ "inherits": [
2773
+ "spacing.base.0-5"
2774
+ ],
2775
+ "inheritedBy": [
2776
+ "spacing.form.field.label.padding-inline-start"
2777
+ ]
2778
+ },
2732
2779
  "xs": {
2733
2780
  "path": "spacing.base.xs",
2734
2781
  "name": "SpacingBaseXs",
@@ -2742,6 +2789,10 @@ const tokenMap = {
2742
2789
  },
2743
2790
  "inherits": [
2744
2791
  "spacing.base.1"
2792
+ ],
2793
+ "inheritedBy": [
2794
+ "spacing.form.field.error.margin-block-start",
2795
+ "spacing.form.field.error.padding-inline-start"
2745
2796
  ]
2746
2797
  },
2747
2798
  "sm": {
@@ -2759,7 +2810,9 @@ const tokenMap = {
2759
2810
  "spacing.base.2"
2760
2811
  ],
2761
2812
  "inheritedBy": [
2762
- "spacing.button.padding.y"
2813
+ "spacing.button.padding.y",
2814
+ "spacing.form.field.label.margin-block-end",
2815
+ "spacing.form.field.error.margin-block-end"
2763
2816
  ]
2764
2817
  },
2765
2818
  "md": {
@@ -2778,7 +2831,7 @@ const tokenMap = {
2778
2831
  ],
2779
2832
  "inheritedBy": [
2780
2833
  "spacing.button-icon.margin.inline.end",
2781
- "spacing.input.padding.inline.start"
2834
+ "spacing.input.padding.inline"
2782
2835
  ]
2783
2836
  },
2784
2837
  "lg": {
@@ -2940,52 +2993,117 @@ const tokenMap = {
2940
2993
  }
2941
2994
  }
2942
2995
  },
2996
+ "form": {
2997
+ "field": {
2998
+ "label": {
2999
+ "margin-block-end": {
3000
+ "path": "spacing.form.field.label.margin-block-end",
3001
+ "name": "SpacingFormFieldLabelMargin-block-end",
3002
+ "code": "$spacing-form-field-label-margin-block-end",
3003
+ "variable": "spacing-form-field-label-margin-block-end",
3004
+ "value": "0.5rem",
3005
+ "attributes": {},
3006
+ "inherits": [
3007
+ "spacing.base.sm"
3008
+ ]
3009
+ },
3010
+ "padding-inline-start": {
3011
+ "path": "spacing.form.field.label.padding-inline-start",
3012
+ "name": "SpacingFormFieldLabelPadding-inline-start",
3013
+ "code": "$spacing-form-field-label-padding-inline-start",
3014
+ "variable": "spacing-form-field-label-padding-inline-start",
3015
+ "value": "0.125rem",
3016
+ "attributes": {},
3017
+ "inherits": [
3018
+ "spacing.base.xxs"
3019
+ ]
3020
+ }
3021
+ },
3022
+ "error": {
3023
+ "margin-block-start": {
3024
+ "path": "spacing.form.field.error.margin-block-start",
3025
+ "name": "SpacingFormFieldErrorMargin-block-start",
3026
+ "code": "$spacing-form-field-error-margin-block-start",
3027
+ "variable": "spacing-form-field-error-margin-block-start",
3028
+ "value": "0.25rem",
3029
+ "attributes": {},
3030
+ "inherits": [
3031
+ "spacing.base.xs"
3032
+ ]
3033
+ },
3034
+ "margin-block-end": {
3035
+ "path": "spacing.form.field.error.margin-block-end",
3036
+ "name": "SpacingFormFieldErrorMargin-block-end",
3037
+ "code": "$spacing-form-field-error-margin-block-end",
3038
+ "variable": "spacing-form-field-error-margin-block-end",
3039
+ "value": "0.5rem",
3040
+ "attributes": {},
3041
+ "inherits": [
3042
+ "spacing.base.sm"
3043
+ ]
3044
+ },
3045
+ "padding-inline-start": {
3046
+ "path": "spacing.form.field.error.padding-inline-start",
3047
+ "name": "SpacingFormFieldErrorPadding-inline-start",
3048
+ "code": "$spacing-form-field-error-padding-inline-start",
3049
+ "variable": "spacing-form-field-error-padding-inline-start",
3050
+ "value": "0.25rem",
3051
+ "attributes": {},
3052
+ "inherits": [
3053
+ "spacing.base.xs"
3054
+ ]
3055
+ }
3056
+ }
3057
+ }
3058
+ },
2943
3059
  "input": {
2944
3060
  "padding": {
3061
+ "inline": {
3062
+ "path": "spacing.input.padding.inline",
3063
+ "name": "SpacingInputPaddingInline",
3064
+ "code": "$spacing-input-padding-inline",
3065
+ "variable": "spacing-input-padding-inline",
3066
+ "value": "0.75rem",
3067
+ "attributes": {},
3068
+ "inherits": [
3069
+ "spacing.base.md"
3070
+ ]
3071
+ }
3072
+ },
3073
+ "with-icon": {
2945
3074
  "inline": {
2946
3075
  "end": {
2947
- "path": "spacing.input.padding.inline.end",
2948
- "name": "SpacingInputPaddingInlineEnd",
2949
- "code": "$spacing-input-padding-inline-end",
2950
- "variable": "spacing-input-padding-inline-end",
3076
+ "path": "spacing.input.with-icon.inline.end",
3077
+ "name": "SpacingInputWith-iconInlineEnd",
3078
+ "code": "$spacing-input-with-icon-inline-end",
3079
+ "variable": "spacing-input-with-icon-inline-end",
2951
3080
  "value": "2.5rem",
2952
3081
  "attributes": {},
2953
3082
  "inherits": [
2954
3083
  "spacing.base.10"
2955
3084
  ]
2956
- },
2957
- "start": {
2958
- "path": "spacing.input.padding.inline.start",
2959
- "name": "SpacingInputPaddingInlineStart",
2960
- "code": "$spacing-input-padding-inline-start",
2961
- "variable": "spacing-input-padding-inline-start",
2962
- "value": "0.75rem",
2963
- "attributes": {},
2964
- "inherits": [
2965
- "spacing.base.md"
2966
- ]
2967
3085
  }
2968
3086
  }
2969
3087
  }
2970
3088
  },
2971
3089
  "input-icon": {
2972
- "margin": {
2973
- "x": {
2974
- "path": "spacing.input-icon.margin.x",
2975
- "name": "SpacingInput-iconMarginX",
2976
- "code": "$spacing-input-icon-margin-x",
2977
- "variable": "spacing-input-icon-margin-x",
3090
+ "inset": {
3091
+ "inline": {
3092
+ "path": "spacing.input-icon.inset.inline",
3093
+ "name": "SpacingInput-iconInsetInline",
3094
+ "code": "$spacing-input-icon-inset-inline",
3095
+ "variable": "spacing-input-icon-inset-inline",
2978
3096
  "value": "0.625rem",
2979
3097
  "attributes": {},
2980
3098
  "inherits": [
2981
3099
  "spacing.base.2-5"
2982
3100
  ]
2983
3101
  },
2984
- "y": {
2985
- "path": "spacing.input-icon.margin.y",
2986
- "name": "SpacingInput-iconMarginY",
2987
- "code": "$spacing-input-icon-margin-y",
2988
- "variable": "spacing-input-icon-margin-y",
3102
+ "block": {
3103
+ "path": "spacing.input-icon.inset.block",
3104
+ "name": "SpacingInput-iconInsetBlock",
3105
+ "code": "$spacing-input-icon-inset-block",
3106
+ "variable": "spacing-input-icon-inset-block",
2989
3107
  "value": "0.625rem",
2990
3108
  "attributes": {},
2991
3109
  "inherits": [
@@ -3047,7 +3165,7 @@ const tokenMap = {
3047
3165
  "name": "SpacingH2BlockEnd",
3048
3166
  "code": "$spacing-h2-block-end",
3049
3167
  "variable": "spacing-h2-block-end",
3050
- "value": "0.2431000000000001rem",
3168
+ "value": "0.2431rem",
3051
3169
  "attributes": {},
3052
3170
  "inherits": []
3053
3171
  }
@@ -3058,7 +3176,7 @@ const tokenMap = {
3058
3176
  "name": "SpacingH2BasekickCap",
3059
3177
  "code": "$spacing-h2-basekick-cap",
3060
3178
  "variable": "spacing-h2-basekick-cap",
3061
- "value": "-0.10964000000000002em",
3179
+ "value": "-0.10964em",
3062
3180
  "attributes": {},
3063
3181
  "inherits": []
3064
3182
  },
@@ -3067,7 +3185,7 @@ const tokenMap = {
3067
3185
  "name": "SpacingH2BasekickBaseline",
3068
3186
  "code": "$spacing-h2-basekick-baseline",
3069
3187
  "variable": "spacing-h2-basekick-baseline",
3070
- "value": "-0.08484000000000001em",
3188
+ "value": "-0.08484em",
3071
3189
  "attributes": {},
3072
3190
  "inherits": []
3073
3191
  }
@@ -3718,6 +3836,9 @@ const tokenMap = {
3718
3836
  },
3719
3837
  "inherits": [
3720
3838
  "color.base.blue-gray.550"
3839
+ ],
3840
+ "inheritedBy": [
3841
+ "color.font.form.field.label"
3721
3842
  ]
3722
3843
  },
3723
3844
  "secondary": {
@@ -3899,7 +4020,8 @@ const tokenMap = {
3899
4020
  "color.background.button.danger.base",
3900
4021
  "color.border.button.danger.discreet",
3901
4022
  "color.border.input.invalid",
3902
- "color.font.button.danger.discreet"
4023
+ "color.font.button.danger.discreet",
4024
+ "color.font.form.field.error"
3903
4025
  ]
3904
4026
  },
3905
4027
  "caution": {
@@ -4295,17 +4417,30 @@ const tokenMap = {
4295
4417
  }
4296
4418
  },
4297
4419
  "input": {
4298
- "height": {
4299
- "path": "size.input.height",
4300
- "name": "SizeInputHeight",
4301
- "code": "$size-input-height",
4302
- "variable": "size-input-height",
4420
+ "block-size": {
4421
+ "path": "size.input.block-size",
4422
+ "name": "SizeInputBlock-size",
4423
+ "code": "$size-input-block-size",
4424
+ "variable": "size-input-block-size",
4303
4425
  "value": "2.5rem",
4304
4426
  "attributes": {},
4305
4427
  "inherits": [
4306
4428
  "spacing.base.10"
4307
4429
  ]
4308
4430
  }
4431
+ },
4432
+ "form": {
4433
+ "field": {
4434
+ "min-block-size": {
4435
+ "path": "size.form.field.min-block-size",
4436
+ "name": "SizeFormFieldMin-block-size",
4437
+ "code": "$size-form-field-min-block-size",
4438
+ "variable": "size-form-field-min-block-size",
4439
+ "value": "6.5rem",
4440
+ "attributes": {},
4441
+ "inherits": []
4442
+ }
4443
+ }
4309
4444
  }
4310
4445
  },
4311
4446
  "transition": {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 24 Nov 2022 16:04:29 GMT
3
+ * Generated on Tue, 29 Nov 2022 14:32:45 GMT
4
4
  */
5
5
 
6
6
  export type PackageDetails = {