@okshaun/components 0.5.4 → 0.5.5

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.
@@ -213,6 +213,12 @@
213
213
  "animationDuration]___[value:normal",
214
214
  "animationTimingFunction]___[value:default",
215
215
  "animationName]___[value:badgePopStandalone",
216
+ "justifyContent]___[value:flex-end",
217
+ "width]___[value:300px",
218
+ "marginBottom]___[value:2",
219
+ "fontSize]___[value:sm",
220
+ "fontWeight]___[value:semibold",
221
+ "textTransform]___[value:capitalize",
216
222
  "opacity]___[value:0",
217
223
  "opacity]___[value:1",
218
224
  "position]___[value:absolute",
@@ -268,7 +274,15 @@
268
274
  "iconAfter]___[value:plus]___[recipe:button",
269
275
  "iconBefore]___[value:aa-placeholder]___[recipe:button",
270
276
  "size]___[value:small]___[recipe:button",
271
- "size]___[value:large]___[recipe:button"
277
+ "size]___[value:large]___[recipe:button",
278
+ "size]___[value:xlarge]___[recipe:button",
279
+ "iconBefore]___[value:plus]___[recipe:button",
280
+ "iconBefore]___[value:check]___[recipe:button",
281
+ "iconBefore]___[value:edit]___[recipe:button",
282
+ "iconAfter]___[value:arrow-square-out]___[recipe:button",
283
+ "iconAfter]___[value:arrow-right]___[recipe:button",
284
+ "iconBefore]___[value:arrow-left]___[recipe:button",
285
+ "iconBefore]___[value:trash]___[recipe:button"
272
286
  ],
273
287
  "themeSwitcher": [],
274
288
  "heading": [
@@ -295,7 +309,8 @@
295
309
  "spinner": [
296
310
  "size]___[value:small]___[recipe:spinner",
297
311
  "size]___[value:standard]___[recipe:spinner",
298
- "size]___[value:large]___[recipe:spinner"
312
+ "size]___[value:large]___[recipe:spinner",
313
+ "inverse]___[value:true]___[recipe:spinner"
299
314
  ],
300
315
  "badge": [
301
316
  "size]___[value:sm]___[recipe:badge",
package/dist/preset.js CHANGED
@@ -4534,7 +4534,7 @@ const conditions = {
4534
4534
  onlyOfType: "&:only-of-type",
4535
4535
  peerFocus: ".peer:is(:focus, [data-focus]) ~ &",
4536
4536
  peerHover: ".peer:is(:hover, [data-hover]) ~ &",
4537
- peerActive: ".peer:is(:active, [data-active]) ~ &",
4537
+ peerActive: ".peer:is(:active, [data-active=true]) ~ &",
4538
4538
  peerFocusWithin: ".peer:focus-within ~ &",
4539
4539
  peerFocusVisible: ".peer:is(:focus-visible, [data-focus-visible]) ~ &",
4540
4540
  peerDisabled: ".peer:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) ~ &",
@@ -4544,7 +4544,7 @@ const conditions = {
4544
4544
  peerPlaceholderShown: ".peer:placeholder-shown ~ &",
4545
4545
  groupFocus: ".group:is(:focus, [data-focus]) &",
4546
4546
  groupHover: ".group:is(:hover, [data-hover]) &",
4547
- groupActive: ".group:is(:active, [data-active]) &",
4547
+ groupActive: ".group:is(:active, [data-active=true]) &",
4548
4548
  groupFocusWithin: ".group:focus-within &",
4549
4549
  groupFocusVisible: ".group:is(:focus-visible, [data-focus-visible]) &",
4550
4550
  groupDisabled: ".group:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) &",
@@ -5113,11 +5113,11 @@ const spinnerBase = {
5113
5113
  borderWidth: "3",
5114
5114
  borderStyle: "solid",
5115
5115
  borderColor: "transparent",
5116
- borderTopColor: "gray.90",
5117
- borderBottomColor: "gray.90",
5116
+ borderTopColor: "icon",
5117
+ borderBottomColor: "icon",
5118
5118
  animation: "spin",
5119
- filter: "invert(1)",
5120
- mixBlendMode: "difference",
5119
+ // filter: 'invert(1)',
5120
+ // mixBlendMode: 'difference',
5121
5121
  isolation: "isolate"
5122
5122
  };
5123
5123
  const spinnerVariants = {
@@ -5134,6 +5134,12 @@ const spinnerVariants = {
5134
5134
  height: "32",
5135
5135
  minHeight: "32"
5136
5136
  }
5137
+ },
5138
+ inverse: {
5139
+ true: {
5140
+ borderTopColor: "icon.inverse",
5141
+ borderBottomColor: "icon.inverse"
5142
+ }
5137
5143
  }
5138
5144
  };
5139
5145
  const spinnerRecipe = defineRecipe({
@@ -6526,9 +6532,6 @@ const menuBase = {
6526
6532
  _focusVisible: {
6527
6533
  bg: "surface.overlay.hovered"
6528
6534
  },
6529
- _active: {
6530
- bg: "surface.overlay.hovered"
6531
- },
6532
6535
  _disabled: {
6533
6536
  opacity: 0.5,
6534
6537
  cursor: "not-allowed",
@@ -6567,7 +6570,7 @@ const menuBase = {
6567
6570
  w: "24",
6568
6571
  h: "24",
6569
6572
  ml: "auto",
6570
- color: "icon.subtlest"
6573
+ color: "icon.decorative"
6571
6574
  },
6572
6575
  // Content wrapper (label + description)
6573
6576
  menuItemContent: {