@televet/kibble-ui 4.0.0-beta.105 → 4.0.0-beta.106

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.
@@ -21,7 +21,8 @@ const t = [
21
21
  "ghostNeutralOnContrast",
22
22
  "ghostDestructive",
23
23
  "ghostDestructiveOnContrast",
24
- "ai"
24
+ "ai",
25
+ "aiSecondary"
25
26
  ], r = [
26
27
  "primary",
27
28
  "primaryDestructive",
@@ -34,13 +35,14 @@ const t = [
34
35
  "ghost",
35
36
  "ghostNeutral",
36
37
  "ghostDestructive",
37
- "ai"
38
- ], s = ["xs", "sm", "md", "lg"], e = ["left", "right"], n = ["start", "end"];
38
+ "ai",
39
+ "aiSecondary"
40
+ ], e = ["xs", "sm", "md", "lg"], s = ["left", "right"], a = ["start", "end"];
39
41
  export {
40
42
  r as a,
41
43
  t as b,
42
- s as c,
43
- e as d,
44
- n as e
44
+ e as c,
45
+ s as d,
46
+ a as e
45
47
  };
46
- //# sourceMappingURL=button.types-CujqF5RD.js.map
48
+ //# sourceMappingURL=button.types-BKXZNvN1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.types-BKXZNvN1.js","sources":["../../src/components/Button/button.types.ts"],"sourcesContent":["export const buttonConfigVariants = [\n 'primary',\n 'primaryOnContrast',\n 'primaryDestructive',\n 'primaryDestructiveOnContrast',\n 'secondary',\n 'secondaryOnContrast',\n 'secondaryDestructive',\n 'secondaryDestructiveOnContrast',\n 'secondarySubtle',\n 'secondarySubtleOnContrast',\n 'secondarySubtleDestructive',\n 'secondarySubtleDestructiveOnContrast',\n 'tertiary',\n 'tertiaryOnContrast',\n 'tertiaryDestructive',\n 'tertiaryDestructiveOnContrast',\n 'ghost',\n 'ghostOnContrast',\n 'ghostNeutral',\n 'ghostNeutralOnContrast',\n 'ghostDestructive',\n 'ghostDestructiveOnContrast',\n 'ai',\n 'aiSecondary',\n] as const;\nexport type ButtonConfigVariant = (typeof buttonConfigVariants)[number];\n\n// We are omitting onContrast variants from the variants list because we are setting the 'onContrast' boolean to determine this state\nexport const buttonVariants = [\n 'primary',\n 'primaryDestructive',\n 'secondary',\n 'secondaryDestructive',\n 'secondarySubtle',\n 'secondarySubtleDestructive',\n 'tertiary',\n 'tertiaryDestructive',\n 'ghost',\n 'ghostNeutral',\n 'ghostDestructive',\n 'ai',\n 'aiSecondary',\n] as const;\n\nexport type ButtonVariant = (typeof buttonVariants)[number];\n\nexport const buttonSizes = ['xs', 'sm', 'md', 'lg'] as const;\nexport type ButtonSize = (typeof buttonSizes)[number];\n\nexport const buttonIconPositions = ['left', 'right'] as const;\nexport type ButtonIconPosition = (typeof buttonIconPositions)[number];\n\nexport const buttonSpinnerPlacements = ['start', 'end'] as const;\nexport type ButtonSpinnerPlacement = (typeof buttonSpinnerPlacements)[number];\n"],"names":["buttonConfigVariants","buttonVariants","buttonSizes","buttonIconPositions","buttonSpinnerPlacements"],"mappings":"AAAO,MAAMA,IAAuB;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAIaC,IAAiB;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAIaC,IAAc,CAAC,MAAM,MAAM,MAAM,IAAI,GAGrCC,IAAsB,CAAC,QAAQ,OAAO,GAGtCC,IAA0B,CAAC,SAAS,KAAK;"}
@@ -1,2 +1,2 @@
1
- "use strict";const t=["primary","primaryOnContrast","primaryDestructive","primaryDestructiveOnContrast","secondary","secondaryOnContrast","secondaryDestructive","secondaryDestructiveOnContrast","secondarySubtle","secondarySubtleOnContrast","secondarySubtleDestructive","secondarySubtleDestructiveOnContrast","tertiary","tertiaryOnContrast","tertiaryDestructive","tertiaryDestructiveOnContrast","ghost","ghostOnContrast","ghostNeutral","ghostNeutralOnContrast","ghostDestructive","ghostDestructiveOnContrast","ai"],r=["primary","primaryDestructive","secondary","secondaryDestructive","secondarySubtle","secondarySubtleDestructive","tertiary","tertiaryDestructive","ghost","ghostNeutral","ghostDestructive","ai"],s=["xs","sm","md","lg"],e=["left","right"],n=["start","end"];exports.buttonConfigVariants=t;exports.buttonIconPositions=e;exports.buttonSizes=s;exports.buttonSpinnerPlacements=n;exports.buttonVariants=r;
2
- //# sourceMappingURL=button.types-DsLMGraz.js.map
1
+ "use strict";const t=["primary","primaryOnContrast","primaryDestructive","primaryDestructiveOnContrast","secondary","secondaryOnContrast","secondaryDestructive","secondaryDestructiveOnContrast","secondarySubtle","secondarySubtleOnContrast","secondarySubtleDestructive","secondarySubtleDestructiveOnContrast","tertiary","tertiaryOnContrast","tertiaryDestructive","tertiaryDestructiveOnContrast","ghost","ghostOnContrast","ghostNeutral","ghostNeutralOnContrast","ghostDestructive","ghostDestructiveOnContrast","ai","aiSecondary"],r=["primary","primaryDestructive","secondary","secondaryDestructive","secondarySubtle","secondarySubtleDestructive","tertiary","tertiaryDestructive","ghost","ghostNeutral","ghostDestructive","ai","aiSecondary"],e=["xs","sm","md","lg"],s=["left","right"],n=["start","end"];exports.buttonConfigVariants=t;exports.buttonIconPositions=s;exports.buttonSizes=e;exports.buttonSpinnerPlacements=n;exports.buttonVariants=r;
2
+ //# sourceMappingURL=button.types-Bl1awbi0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.types-Bl1awbi0.js","sources":["../../src/components/Button/button.types.ts"],"sourcesContent":["export const buttonConfigVariants = [\n 'primary',\n 'primaryOnContrast',\n 'primaryDestructive',\n 'primaryDestructiveOnContrast',\n 'secondary',\n 'secondaryOnContrast',\n 'secondaryDestructive',\n 'secondaryDestructiveOnContrast',\n 'secondarySubtle',\n 'secondarySubtleOnContrast',\n 'secondarySubtleDestructive',\n 'secondarySubtleDestructiveOnContrast',\n 'tertiary',\n 'tertiaryOnContrast',\n 'tertiaryDestructive',\n 'tertiaryDestructiveOnContrast',\n 'ghost',\n 'ghostOnContrast',\n 'ghostNeutral',\n 'ghostNeutralOnContrast',\n 'ghostDestructive',\n 'ghostDestructiveOnContrast',\n 'ai',\n 'aiSecondary',\n] as const;\nexport type ButtonConfigVariant = (typeof buttonConfigVariants)[number];\n\n// We are omitting onContrast variants from the variants list because we are setting the 'onContrast' boolean to determine this state\nexport const buttonVariants = [\n 'primary',\n 'primaryDestructive',\n 'secondary',\n 'secondaryDestructive',\n 'secondarySubtle',\n 'secondarySubtleDestructive',\n 'tertiary',\n 'tertiaryDestructive',\n 'ghost',\n 'ghostNeutral',\n 'ghostDestructive',\n 'ai',\n 'aiSecondary',\n] as const;\n\nexport type ButtonVariant = (typeof buttonVariants)[number];\n\nexport const buttonSizes = ['xs', 'sm', 'md', 'lg'] as const;\nexport type ButtonSize = (typeof buttonSizes)[number];\n\nexport const buttonIconPositions = ['left', 'right'] as const;\nexport type ButtonIconPosition = (typeof buttonIconPositions)[number];\n\nexport const buttonSpinnerPlacements = ['start', 'end'] as const;\nexport type ButtonSpinnerPlacement = (typeof buttonSpinnerPlacements)[number];\n"],"names":["buttonConfigVariants","buttonVariants","buttonSizes","buttonIconPositions","buttonSpinnerPlacements"],"mappings":"aAAO,MAAMA,EAAuB,CAClC,UACA,oBACA,qBACA,+BACA,YACA,sBACA,uBACA,iCACA,kBACA,4BACA,6BACA,uCACA,WACA,qBACA,sBACA,gCACA,QACA,kBACA,eACA,yBACA,mBACA,6BACA,KACA,aACF,EAIaC,EAAiB,CAC5B,UACA,qBACA,YACA,uBACA,kBACA,6BACA,WACA,sBACA,QACA,eACA,mBACA,KACA,aACF,EAIaC,EAAc,CAAC,KAAM,KAAM,KAAM,IAAI,EAGrCC,EAAsB,CAAC,OAAQ,OAAO,EAGtCC,EAA0B,CAAC,QAAS,KAAK"}
@@ -10591,6 +10591,24 @@ const mi = (e) => /* @__PURE__ */ n.jsx(zt, { attribute: "class", disableTransit
10591
10591
  _icon: "text.interactive"
10592
10592
  },
10593
10593
  borderWidth: "0"
10594
+ },
10595
+ aiSecondary: {
10596
+ borderWidth: "2px",
10597
+ color: {
10598
+ base: "text.interactive",
10599
+ _icon: "text.interactive"
10600
+ },
10601
+ bg: {
10602
+ base: "linear-gradient({colors.background} 0 0) padding-box, {colors.background.ai} border-box",
10603
+ _hover: {
10604
+ base: "{colors.background.ai} border-box",
10605
+ _disabled: "linear-gradient({colors.background} 0 0) padding-box, {colors.background.ai} border-box"
10606
+ },
10607
+ _active: {
10608
+ base: "{colors.background.ai.hover} border-box",
10609
+ _hover: "{colors.background.ai.hover} border-box"
10610
+ }
10611
+ }
10594
10612
  }
10595
10613
  }, Fe = f({
10596
10614
  base: {
@@ -12050,4 +12068,4 @@ export {
12050
12068
  Ls as k,
12051
12069
  Fs as s
12052
12070
  };
12053
- //# sourceMappingURL=theme.provider-Dp0Cf3UC.js.map
12071
+ //# sourceMappingURL=theme.provider-CeFyVJrz.js.map