@hanzogui/toggle-group 3.0.2 → 7.3.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.
Files changed (53) hide show
  1. package/LICENSE +40 -19
  2. package/dist/cjs/Toggle.cjs +129 -124
  3. package/dist/cjs/Toggle.native.js +132 -127
  4. package/dist/cjs/Toggle.native.js.map +1 -1
  5. package/dist/cjs/ToggleGroup.cjs +218 -202
  6. package/dist/cjs/ToggleGroup.native.js +232 -222
  7. package/dist/cjs/ToggleGroup.native.js.map +1 -1
  8. package/dist/cjs/context.cjs +20 -16
  9. package/dist/cjs/context.native.js +20 -18
  10. package/dist/cjs/context.native.js.map +1 -1
  11. package/dist/cjs/index.cjs +13 -11
  12. package/dist/cjs/index.native.js +13 -11
  13. package/dist/cjs/index.native.js.map +1 -1
  14. package/dist/cjs/types.cjs +7 -5
  15. package/dist/cjs/types.native.js +7 -5
  16. package/dist/cjs/types.native.js.map +1 -1
  17. package/dist/esm/Toggle.mjs +98 -95
  18. package/dist/esm/Toggle.mjs.map +1 -1
  19. package/dist/esm/Toggle.native.js +102 -99
  20. package/dist/esm/Toggle.native.js.map +1 -1
  21. package/dist/esm/ToggleGroup.mjs +182 -168
  22. package/dist/esm/ToggleGroup.mjs.map +1 -1
  23. package/dist/esm/ToggleGroup.native.js +197 -189
  24. package/dist/esm/ToggleGroup.native.js.map +1 -1
  25. package/dist/esm/context.mjs +6 -4
  26. package/dist/esm/context.mjs.map +1 -1
  27. package/dist/esm/context.native.js +6 -6
  28. package/dist/esm/context.native.js.map +1 -1
  29. package/dist/jsx/Toggle.mjs +98 -95
  30. package/dist/jsx/Toggle.mjs.map +1 -1
  31. package/dist/jsx/Toggle.native.js +132 -127
  32. package/dist/jsx/Toggle.native.js.map +1 -1
  33. package/dist/jsx/ToggleGroup.mjs +182 -168
  34. package/dist/jsx/ToggleGroup.mjs.map +1 -1
  35. package/dist/jsx/ToggleGroup.native.js +232 -222
  36. package/dist/jsx/ToggleGroup.native.js.map +1 -1
  37. package/dist/jsx/context.mjs +6 -4
  38. package/dist/jsx/context.mjs.map +1 -1
  39. package/dist/jsx/context.native.js +20 -18
  40. package/dist/jsx/context.native.js.map +1 -1
  41. package/dist/jsx/index.native.js +13 -11
  42. package/dist/jsx/types.native.js +7 -5
  43. package/package.json +22 -19
  44. package/src/Toggle.tsx +1 -1
  45. package/types/Toggle.d.ts +17 -17
  46. package/types/Toggle.d.ts.map +1 -0
  47. package/types/ToggleGroup.d.ts +40 -40
  48. package/types/ToggleGroup.d.ts.map +1 -0
  49. package/types/context.d.ts +1 -1
  50. package/types/context.d.ts.map +1 -0
  51. package/types/index.d.ts.map +1 -0
  52. package/types/types.d.ts +1 -1
  53. package/types/types.d.ts.map +1 -0
@@ -5,21 +5,23 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
16
  get: () => from[key],
16
17
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
18
  });
18
- return to;
19
- },
20
- __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
19
+ }
20
+ return to;
21
+ };
22
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
21
23
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
22
- value: !0
24
+ value: true
23
25
  }), mod);
24
26
  var index_exports = {};
25
27
  __export(index_exports, {
@@ -5,14 +5,16 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __copyProps = (to, from, except, desc) => {
8
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
9
- get: () => from[key],
10
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
11
- });
8
+ if (from && typeof from === "object" || typeof from === "function") {
9
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
10
+ get: () => from[key],
11
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
12
+ });
13
+ }
12
14
  return to;
13
15
  };
14
16
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
15
- value: !0
17
+ value: true
16
18
  }), mod);
17
19
  var types_exports = {};
18
20
  module.exports = __toCommonJS(types_exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/toggle-group",
3
- "version": "3.0.2",
3
+ "version": "7.3.0",
4
4
  "source": "src/index.ts",
5
5
  "files": [
6
6
  "src",
@@ -30,31 +30,34 @@
30
30
  "access": "public"
31
31
  },
32
32
  "scripts": {
33
- "build": "hanzo-gui-build",
34
- "watch": "hanzo-gui-build --watch",
35
- "clean": "hanzo-gui-build clean",
36
- "clean:build": "hanzo-gui-build clean:build"
33
+ "build": "gui-build",
34
+ "watch": "gui-build --watch",
35
+ "clean": "gui-build clean",
36
+ "clean:build": "gui-build clean:build"
37
37
  },
38
38
  "dependencies": {
39
- "@hanzogui/constants": "3.0.1",
40
- "@hanzogui/create-context": "3.0.1",
41
- "@hanzogui/focusable": "3.0.1",
42
- "@hanzogui/get-token": "3.0.1",
43
- "@hanzogui/helpers": "3.0.1",
44
- "@hanzogui/roving-focus": "3.0.1",
45
- "@hanzogui/sizable-context": "3.0.1",
46
- "@hanzogui/stacks": "3.0.1",
47
- "@hanzogui/use-controllable-state": "3.0.1",
48
- "@hanzogui/use-direction": "3.0.1",
49
- "@hanzogui/font-size": "3.0.1",
50
- "@hanzogui/web": "3.0.1"
39
+ "@hanzogui/constants": "7.3.0",
40
+ "@hanzogui/create-context": "7.3.0",
41
+ "@hanzogui/focusable": "7.3.0",
42
+ "@hanzogui/get-token": "7.3.0",
43
+ "@hanzogui/helpers": "7.3.0",
44
+ "@hanzogui/component-helpers": "7.3.0",
45
+ "@hanzogui/roving-focus": "7.3.0",
46
+ "@hanzogui/sizable-context": "7.3.0",
47
+ "@hanzogui/stacks": "7.3.0",
48
+ "@hanzogui/use-controllable-state": "7.3.0",
49
+ "@hanzogui/use-direction": "7.3.0",
50
+ "@hanzogui/font-size": "7.3.0",
51
+ "@hanzogui/web": "7.3.0"
51
52
  },
52
53
  "devDependencies": {
53
- "@hanzogui/build": "3.0.1",
54
+ "@hanzogui/build": "7.3.0",
54
55
  "react": ">=19"
55
56
  },
56
57
  "peerDependencies": {
57
58
  "react": ">=19"
58
59
  },
59
- "module:jsx": "dist/jsx"
60
+ "module:jsx": "dist/jsx",
61
+ "license": "BSD-3-Clause",
62
+ "author": "Hanzo AI <dev@hanzo.ai>"
60
63
  }
package/src/Toggle.tsx CHANGED
@@ -74,7 +74,7 @@ export const ToggleFrame = styled(
74
74
  } as const,
75
75
 
76
76
  defaultVariants: {
77
- unstyled: process.env.HANZO_GUI_HEADLESS === '1',
77
+ unstyled: process.env.GUI_HEADLESS === '1',
78
78
  },
79
79
  },
80
80
  {
package/types/Toggle.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- import type { GetProps, GuiElement, ViewStyle } from '@gui/web';
1
+ import type { GetProps, GuiElement, ViewStyle } from '@hanzogui/web';
2
2
  import * as React from 'react';
3
- export declare const ToggleFrame: import("@gui/web").GuiComponent<import("@gui/web").TamaDefer, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase & {
4
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
3
+ export declare const ToggleFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase & {
4
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
5
5
  accept: {
6
6
  readonly activeStyle: "style";
7
7
  };
8
8
  }>> | undefined;
9
9
  }, {
10
10
  unstyled?: boolean | undefined;
11
- size?: number | import("@gui/web").SizeTokens | undefined;
11
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
12
12
  defaultActiveStyle?: boolean | undefined;
13
13
  }, {
14
14
  accept: {
@@ -27,47 +27,47 @@ type ToggleItemExtraProps = {
27
27
  activeTheme?: string | null;
28
28
  };
29
29
  export type ToggleProps = ToggleFrameProps & ToggleItemExtraProps;
30
- export declare const Toggle: React.ForwardRefExoticComponent<Omit<import("@gui/web").StackNonStyleProps, "unstyled" | keyof import("@gui/web").StackStyleBase | "size" | "activeStyle" | "defaultActiveStyle"> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
31
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
30
+ export declare const Toggle: React.ForwardRefExoticComponent<Omit<import("@hanzogui/web").StackNonStyleProps, "unstyled" | keyof import("@hanzogui/web").StackStyleBase | "size" | "activeStyle" | "defaultActiveStyle"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
31
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
32
32
  accept: {
33
33
  readonly activeStyle: "style";
34
34
  };
35
35
  }>> | undefined;
36
36
  }> & {
37
37
  unstyled?: boolean | undefined;
38
- size?: number | import("@gui/web").SizeTokens | undefined;
38
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
39
39
  defaultActiveStyle?: boolean | undefined;
40
- } & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
41
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
40
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
41
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
42
42
  accept: {
43
43
  readonly activeStyle: "style";
44
44
  };
45
45
  }>> | undefined;
46
- }>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
47
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
46
+ }>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
47
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
48
48
  accept: {
49
49
  readonly activeStyle: "style";
50
50
  };
51
51
  }>> | undefined;
52
52
  }> & {
53
53
  unstyled?: boolean | undefined;
54
- size?: number | import("@gui/web").SizeTokens | undefined;
54
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
55
55
  defaultActiveStyle?: boolean | undefined;
56
- } & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
57
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
56
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
57
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
58
58
  accept: {
59
59
  readonly activeStyle: "style";
60
60
  };
61
61
  }>> | undefined;
62
- }>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase & {
63
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
62
+ }>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase & {
63
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
64
64
  accept: {
65
65
  readonly activeStyle: "style";
66
66
  };
67
67
  }>> | undefined;
68
68
  }, {
69
69
  unstyled?: boolean | undefined;
70
- size?: number | import("@gui/web").SizeTokens | undefined;
70
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
71
71
  defaultActiveStyle?: boolean | undefined;
72
72
  }>> & ToggleItemExtraProps & React.RefAttributes<GuiElement>>;
73
73
  export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../src/Toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAEpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAS9B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;EAuEvB,CAAA;AAED,KAAK,gBAAgB,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA;AAEpD,KAAK,oBAAoB,GAAG;IAC1B,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,CAAC,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAA;IACtC,WAAW,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IAC9B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG,oBAAoB,CAAA;AAEjE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6DA8ClB,CAAA"}
@@ -1,5 +1,5 @@
1
- import { RovingFocusGroup } from '@gui/roving-focus';
2
- import type { GetProps, GuiElement } from '@gui/web';
1
+ import { RovingFocusGroup } from '@hanzogui/roving-focus';
2
+ import type { GetProps, GuiElement } from '@hanzogui/web';
3
3
  import React from 'react';
4
4
  import { ToggleFrame } from './Toggle';
5
5
  type ToggleGroupItemProps = GetProps<typeof ToggleFrame> & {
@@ -18,73 +18,73 @@ interface ToggleGroupMultipleProps extends ToggleGroupImplMultipleProps {
18
18
  }
19
19
  type ToggleGroupProps = ToggleGroupSingleProps | ToggleGroupMultipleProps;
20
20
  declare const ToggleGroup: React.ForwardRefExoticComponent<ScopedProps<ToggleGroupProps> & React.RefAttributes<GuiElement>> & {
21
- Item: import("@gui/web").GuiComponent<Omit<import("@gui/web").GetFinalProps<import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase & {
22
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
21
+ Item: import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase & {
22
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
23
23
  accept: {
24
24
  readonly activeStyle: "style";
25
25
  };
26
26
  }>> | undefined;
27
27
  }, {
28
28
  unstyled?: boolean | undefined;
29
- size?: number | import("@gui/web").SizeTokens | undefined;
29
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
30
30
  defaultActiveStyle?: boolean | undefined;
31
- }>, "theme" | "debug" | "style" | `$${string}` | `$${number}` | import("@gui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "render" | "hitSlop" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "unstyled" | "id" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | keyof import("@gui/web").StackStyleBase | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "size" | "activeStyle" | "value" | "defaultActiveStyle" | keyof import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
32
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
31
+ }>, "theme" | "debug" | "style" | `$${string}` | `$${number}` | import("@hanzogui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "render" | "hitSlop" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "unstyled" | "id" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | keyof import("@hanzogui/web").StackStyleBase | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "size" | "activeStyle" | "value" | "defaultActiveStyle" | keyof import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
32
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
33
33
  accept: {
34
34
  readonly activeStyle: "style";
35
35
  };
36
36
  }>> | undefined;
37
37
  }> & {
38
38
  unstyled?: boolean | undefined;
39
- size?: number | import("@gui/web").SizeTokens | undefined;
39
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
40
40
  defaultActiveStyle?: boolean | undefined;
41
- } & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
42
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
41
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
42
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
43
43
  accept: {
44
44
  readonly activeStyle: "style";
45
45
  };
46
46
  }>> | undefined;
47
- }>>> | "__scopeToggleGroup"> & Omit<import("@gui/web").StackNonStyleProps, "unstyled" | keyof import("@gui/web").StackStyleBase | "size" | "activeStyle" | "defaultActiveStyle"> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
48
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
47
+ }>>> | "__scopeToggleGroup"> & Omit<import("@hanzogui/web").StackNonStyleProps, "unstyled" | keyof import("@hanzogui/web").StackStyleBase | "size" | "activeStyle" | "defaultActiveStyle"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
48
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
49
49
  accept: {
50
50
  readonly activeStyle: "style";
51
51
  };
52
52
  }>> | undefined;
53
53
  }> & {
54
54
  unstyled?: boolean | undefined;
55
- size?: number | import("@gui/web").SizeTokens | undefined;
55
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
56
56
  defaultActiveStyle?: boolean | undefined;
57
- } & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
58
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
57
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
58
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
59
59
  accept: {
60
60
  readonly activeStyle: "style";
61
61
  };
62
62
  }>> | undefined;
63
- }>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
64
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
63
+ }>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
64
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
65
65
  accept: {
66
66
  readonly activeStyle: "style";
67
67
  };
68
68
  }>> | undefined;
69
69
  }> & {
70
70
  unstyled?: boolean | undefined;
71
- size?: number | import("@gui/web").SizeTokens | undefined;
71
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
72
72
  defaultActiveStyle?: boolean | undefined;
73
- } & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
74
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
73
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
74
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
75
75
  accept: {
76
76
  readonly activeStyle: "style";
77
77
  };
78
78
  }>> | undefined;
79
- }>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase & {
80
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
79
+ }>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase & {
80
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
81
81
  accept: {
82
82
  readonly activeStyle: "style";
83
83
  };
84
84
  }>> | undefined;
85
85
  }, {
86
86
  unstyled?: boolean | undefined;
87
- size?: number | import("@gui/web").SizeTokens | undefined;
87
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
88
88
  defaultActiveStyle?: boolean | undefined;
89
89
  }>> & {
90
90
  value: string;
@@ -92,47 +92,47 @@ declare const ToggleGroup: React.ForwardRefExoticComponent<ScopedProps<ToggleGro
92
92
  disabled?: boolean;
93
93
  } & {
94
94
  __scopeToggleGroup?: string;
95
- }, GuiElement, import("@gui/web").StackNonStyleProps & Omit<import("@gui/web").StackNonStyleProps, "unstyled" | keyof import("@gui/web").StackStyleBase | "size" | "activeStyle" | "defaultActiveStyle"> & import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
96
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
95
+ }, GuiElement, import("@hanzogui/web").StackNonStyleProps & Omit<import("@hanzogui/web").StackNonStyleProps, "unstyled" | keyof import("@hanzogui/web").StackStyleBase | "size" | "activeStyle" | "defaultActiveStyle"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
96
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
97
97
  accept: {
98
98
  readonly activeStyle: "style";
99
99
  };
100
100
  }>> | undefined;
101
101
  }> & {
102
102
  unstyled?: boolean | undefined;
103
- size?: number | import("@gui/web").SizeTokens | undefined;
103
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
104
104
  defaultActiveStyle?: boolean | undefined;
105
- } & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
106
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
105
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
106
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
107
107
  accept: {
108
108
  readonly activeStyle: "style";
109
109
  };
110
110
  }>> | undefined;
111
- }>> & import("@gui/web").WithPseudoProps<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
112
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
111
+ }>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
112
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
113
113
  accept: {
114
114
  readonly activeStyle: "style";
115
115
  };
116
116
  }>> | undefined;
117
117
  }> & {
118
118
  unstyled?: boolean | undefined;
119
- size?: number | import("@gui/web").SizeTokens | undefined;
119
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
120
120
  defaultActiveStyle?: boolean | undefined;
121
- } & import("@gui/web").WithShorthands<import("@gui/web").WithThemeValues<import("@gui/web").StackStyleBase & {
122
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
121
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
122
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
123
123
  accept: {
124
124
  readonly activeStyle: "style";
125
125
  };
126
126
  }>> | undefined;
127
- }>>> & import("@gui/web").WithMediaProps<import("@gui/web").WithThemeShorthandsAndPseudos<import("@gui/web").StackStyleBase & {
128
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
127
+ }>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase & {
128
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
129
129
  accept: {
130
130
  readonly activeStyle: "style";
131
131
  };
132
132
  }>> | undefined;
133
133
  }, {
134
134
  unstyled?: boolean | undefined;
135
- size?: number | import("@gui/web").SizeTokens | undefined;
135
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
136
136
  defaultActiveStyle?: boolean | undefined;
137
137
  }>> & {
138
138
  value: string;
@@ -140,15 +140,15 @@ declare const ToggleGroup: React.ForwardRefExoticComponent<ScopedProps<ToggleGro
140
140
  disabled?: boolean;
141
141
  } & {
142
142
  __scopeToggleGroup?: string;
143
- }, import("@gui/web").StackStyleBase & {
144
- readonly activeStyle?: Partial<import("@gui/web").InferStyleProps<import("@gui/web").GuiComponent<import("@gui/web").ViewProps, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, {}>, {
143
+ }, import("@hanzogui/web").StackStyleBase & {
144
+ readonly activeStyle?: Partial<import("@hanzogui/web").InferStyleProps<import("@hanzogui/web").GuiComponent<import("@hanzogui/web").ViewProps, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, {}>, {
145
145
  accept: {
146
146
  readonly activeStyle: "style";
147
147
  };
148
148
  }>> | undefined;
149
149
  }, {
150
150
  unstyled?: boolean | undefined;
151
- size?: number | import("@gui/web").SizeTokens | undefined;
151
+ size?: number | import("@hanzogui/web").SizeTokens | undefined;
152
152
  defaultActiveStyle?: boolean | undefined;
153
153
  }, {
154
154
  accept: {
@@ -176,7 +176,7 @@ interface ToggleGroupImplMultipleProps extends ToggleGroupImplProps {
176
176
  disableDeactivation?: never;
177
177
  }
178
178
  type RovingFocusGroupProps = React.ComponentPropsWithoutRef<typeof RovingFocusGroup>;
179
- declare const ToggleGroupFrame: import("@gui/web").GuiComponent<import("@gui/web").TamaDefer, GuiElement, import("@gui/web").StackNonStyleProps, import("@gui/web").StackStyleBase, {}, import("@gui/web").StaticConfigPublic>;
179
+ declare const ToggleGroupFrame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, GuiElement, import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {}, import("@hanzogui/web").StaticConfigPublic>;
180
180
  type ToggleGroupImplProps = GetProps<typeof ToggleGroupFrame> & {
181
181
  orientation?: 'horizontal' | 'vertical';
182
182
  rovingFocus?: boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToggleGroup.d.ts","sourceRoot":"","sources":["../src/ToggleGroup.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAGzD,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAU,WAAW,EAAE,MAAM,UAAU,CAAA;AAmB9C,KAAK,oBAAoB,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,GAAG;IACzD,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AA8ED,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAEzD,UAAU,sBAAuB,SAAQ,0BAA0B;IACjE,IAAI,EAAE,QAAQ,CAAA;CACf;AAED,UAAU,wBAAyB,SAAQ,4BAA4B;IACrE,IAAI,EAAE,UAAU,CAAA;CACjB;AAED,KAAK,gBAAgB,GAAG,sBAAsB,GAAG,wBAAwB,CAAA;AAEzE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA7FR,MAAM;aACR,MAAM;mBACA,OAAO;;6BA+E6B,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAjF9C,MAAM;aACR,MAAM;mBACA,OAAO;;6BA+E6B,MAAM;;;;;;;;;;;;;;;;CA0CtD,CAAA;AAmBD,UAAU,0BAA2B,SAAQ,oBAAoB;IAC/D,iEAAiE;IACjE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qEAAqE;IACrE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,0EAA0E;IAC1E,aAAa,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACnC,mDAAmD;IACnD,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B;AAwCD,UAAU,4BAA6B,SAAQ,oBAAoB;IACjE,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,0EAA0E;IAC1E,aAAa,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,CAAA;IACrC,mBAAmB,CAAC,EAAE,KAAK,CAAA;CAC5B;AAuDD,KAAK,qBAAqB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEpF,QAAA,MAAM,gBAAgB,yNAEpB,CAAA;AAEF,KAAK,oBAAoB,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,GAAG;IAC9D,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,GAAG,CAAC,EAAE,qBAAqB,CAAC,KAAK,CAAC,CAAA;IAClC,IAAI,CAAC,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAA;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAmDD,OAAO,EAAE,WAAW,EAAE,CAAA;AACtB,YAAY,EACV,oBAAoB,EACpB,wBAAwB,EACxB,gBAAgB,EAChB,sBAAsB,GACvB,CAAA"}
@@ -1,4 +1,4 @@
1
- export declare const context: import("@gui/web").StyledContext<{
1
+ export declare const context: import("@hanzogui/web").StyledContext<{
2
2
  color: string;
3
3
  active: boolean;
4
4
  }>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;EAGlB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;CAE9B,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA"}
package/types/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ViewStyle } from '@gui/web';
1
+ import type { ViewStyle } from '@hanzogui/web';
2
2
  export type ToggleStylesBase = ViewStyle & {
3
3
  color?: string;
4
4
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA"}