cetec-design-system 0.0.19 → 0.0.21
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/cetec-design-system.es.js +291 -292
- package/dist/components/Box/Box.d.ts +3 -3
- package/dist/components/Button/Button.d.ts +2 -2
- package/dist/components/CheckBox/CheckBox.d.ts +2 -2
- package/dist/components/CheckBox/index.d.ts +1 -1
- package/dist/components/Code/Code.d.ts +3 -3
- package/dist/components/Code/Pre.d.ts +1 -1
- package/dist/components/Divider/Divider.d.ts +2 -2
- package/dist/components/Heading/Heading.d.ts +2 -2
- package/dist/components/Icon/Icon.d.ts +5 -5
- package/dist/components/IconButton/IconButton.d.ts +3 -3
- package/dist/components/Input/Input.d.ts +3 -3
- package/dist/components/Label/Label.d.ts +2 -2
- package/dist/components/Link/Link.d.ts +3 -3
- package/dist/components/Radio/Radio.d.ts +2 -2
- package/dist/components/Radio/index.d.ts +1 -1
- package/dist/components/Slot.d.ts +1 -1
- package/dist/components/Spinner/Spinner.d.ts +2 -2
- package/dist/components/Text/Text.d.ts +3 -3
- package/dist/components/Text/Text.stories.d.ts +1 -1
- package/dist/components/TextInput/TextInput.d.ts +2 -2
- package/dist/components/Textarea/Textarea.d.ts +2 -2
- package/package.json +14 -11
- package/dist/components/Icon/iconNames.d.ts +0 -219
- package/dist/contexts/ThemeContext.d.ts +0 -10
- package/dist/recipes/box.d.ts +0 -1
- package/dist/recipes/button.d.ts +0 -2
- package/dist/recipes/checkbox.d.ts +0 -1
- package/dist/recipes/code.d.ts +0 -2
- package/dist/recipes/divider.d.ts +0 -1
- package/dist/recipes/index.d.ts +0 -11
- package/dist/recipes/input.d.ts +0 -1
- package/dist/recipes/radio.d.ts +0 -1
- package/dist/recipes/spinner.d.ts +0 -1
- package/dist/recipes/text.d.ts +0 -4
- package/dist/recipes/textarea.d.ts +0 -1
- package/dist/recipes/textinput.d.ts +0 -1
- package/dist/styles/conditions.d.ts +0 -92
- package/dist/styles/globalStyle.d.ts +0 -1
- package/dist/styles/semanticTokens.d.ts +0 -114
- package/dist/styles/tokens.d.ts +0 -868
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/utils/forwardRefWithAs.d.ts +0 -17
- package/dist/utils/generate-sprite.d.ts +0 -1
- package/dist/utils/splitProps.d.ts +0 -1
- package/dist/utils/sprite-config.d.ts +0 -23
- package/src/contexts/ThemeContext.tsx +0 -77
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React,
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { default as React, ComponentPropsWithoutRef, ElementType } from 'react';
|
|
2
|
+
import { BoxVariantProps } from '../../../styled-system/recipes';
|
|
3
|
+
import { SystemStyleObject } from '../../../styled-system/types';
|
|
4
4
|
export type BoxProps = Omit<ComponentPropsWithoutRef<ElementType>, 'as'> & SystemStyleObject & BoxVariantProps & {
|
|
5
5
|
as?: ElementType;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { BoxProps } from '../Box';
|
|
3
|
+
import { ButtonVariantProps } from '../../../styled-system/recipes';
|
|
4
4
|
export type ButtonProps = BoxProps & ButtonVariantProps & {
|
|
5
5
|
href?: string;
|
|
6
6
|
loading?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BoxProps } from '../Box';
|
|
2
|
+
import { CheckboxVariantProps } from '../../../styled-system/recipes';
|
|
3
3
|
export type CheckBoxProps = Omit<BoxProps, keyof CheckboxVariantProps> & CheckboxVariantProps & {
|
|
4
4
|
indeterminate?: boolean;
|
|
5
5
|
disabled?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CheckBox } from
|
|
1
|
+
export { CheckBox } from './CheckBox';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { BoxProps } from '../Box';
|
|
2
|
+
import { TextProps } from '../Text';
|
|
3
|
+
import { CodeVariantProps } from '../../../styled-system/recipes';
|
|
4
4
|
export type CodeProps = Omit<BoxProps, keyof CodeVariantProps | keyof TextProps> & CodeVariantProps & TextProps & {
|
|
5
5
|
children?: string | React.ReactNode;
|
|
6
6
|
lang?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BoxProps } from '../Box/Box';
|
|
2
|
+
import { DividerVariantProps } from '../../../styled-system/recipes';
|
|
3
3
|
export type DividerProps = Omit<BoxProps, keyof DividerVariantProps> & DividerVariantProps & {
|
|
4
4
|
direction?: string;
|
|
5
5
|
weight?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { TextProps } from '../Text';
|
|
2
|
+
import { HeadingVariantProps } from '../../../styled-system/recipes';
|
|
3
3
|
export type HeadingProps = Omit<TextProps, keyof HeadingVariantProps> & HeadingVariantProps & {
|
|
4
4
|
children?: string | React.ReactNode;
|
|
5
5
|
level?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SVGAttributes } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BoxProps } from '../Box';
|
|
3
3
|
import { IconNamesList } from './icons';
|
|
4
|
-
import { numericSizes } from '
|
|
5
|
-
import { ConditionalValue } from '
|
|
6
|
-
import { WithEscapeHatch } from '
|
|
7
|
-
import { ColorToken } from '
|
|
4
|
+
import { numericSizes } from '../../styles/tokens';
|
|
5
|
+
import { ConditionalValue } from '../../../styled-system/types';
|
|
6
|
+
import { WithEscapeHatch } from '../../../styled-system/types/prop-type';
|
|
7
|
+
import { ColorToken } from '../../../styled-system/tokens';
|
|
8
8
|
export type AllowedIconSizes = keyof typeof numericSizes;
|
|
9
9
|
export type IconProps = Omit<BoxProps, 'size'> & SVGAttributes<SVGElement> & {
|
|
10
10
|
name: IconNamesList;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC, ReactElement } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Icon } from '
|
|
2
|
+
import { BoxProps } from '../Box';
|
|
3
|
+
import { IconButtonVariantProps } from '../../../styled-system/recipes';
|
|
4
|
+
import { Icon } from '../Icon';
|
|
5
5
|
/**
|
|
6
6
|
* The IconButton component builds on Box.
|
|
7
7
|
* It automatically renders as a "button" (or an "a" if an href is provided)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { TextProps } from '../Text';
|
|
2
|
+
import { BoxProps } from '../Box';
|
|
3
|
+
import { InputVariantProps } from '../../../styled-system/recipes';
|
|
4
4
|
export type InputProps = Omit<BoxProps, keyof InputVariantProps | keyof TextProps> & TextProps & InputVariantProps & {
|
|
5
5
|
label?: string;
|
|
6
6
|
type?: string | HTMLInputElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BoxProps } from '../Box';
|
|
2
|
+
import { LabelVariantProps } from '../../../styled-system/recipes';
|
|
3
3
|
export type LabelProps = Omit<BoxProps, keyof LabelVariantProps> & LabelVariantProps & {
|
|
4
4
|
htmlFor?: string;
|
|
5
5
|
children?: string | React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { BoxProps } from '../Box';
|
|
2
|
+
import { LinkVariantProps } from '../../../styled-system/recipes';
|
|
3
|
+
import { FontSizeToken, FontToken, FontWeightToken } from '../../../styled-system/tokens';
|
|
4
4
|
export type LinkProps = Omit<BoxProps, keyof LinkVariantProps> & LinkVariantProps & {
|
|
5
5
|
href: string;
|
|
6
6
|
external?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BoxProps } from '../Box';
|
|
2
|
+
import { RadioVariantProps } from '../../../styled-system/recipes';
|
|
3
3
|
export type RadioProps = Omit<BoxProps, keyof RadioVariantProps> & RadioVariantProps & {
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
error?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Radio, type RadioProps } from
|
|
1
|
+
export { Radio, type RadioProps } from './Radio';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BoxProps } from '../Box/Box';
|
|
2
|
+
import { SpinnerVariantProps } from '../../../styled-system/recipes';
|
|
3
3
|
export type SpinnerProps = Omit<BoxProps, keyof SpinnerVariantProps> & SpinnerVariantProps;
|
|
4
4
|
export declare const Spinner: React.FC<SpinnerProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { default as React, ReactNode, ElementType } from 'react';
|
|
2
|
+
import { BoxProps } from '../Box';
|
|
3
|
+
import { TextVariantProps } from '../../../styled-system/recipes';
|
|
4
4
|
export type TextProps = Omit<BoxProps, keyof TextVariantProps> & TextVariantProps & {
|
|
5
5
|
children: string | ReactNode;
|
|
6
6
|
as?: ElementType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BoxProps } from '../Box/Box';
|
|
2
|
+
import { TextinputVariantProps } from '../../../styled-system/recipes';
|
|
3
3
|
export type TextInputProps = Omit<BoxProps, keyof TextinputVariantProps> & TextinputVariantProps & {
|
|
4
4
|
error?: boolean;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BoxProps } from '../Box';
|
|
2
|
+
import { TextareaVariantProps } from '../../../styled-system/recipes';
|
|
3
3
|
export type TextareaProps = Omit<BoxProps, keyof TextareaVariantProps> & TextareaVariantProps & {
|
|
4
4
|
autoSize?: boolean;
|
|
5
5
|
error?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cetec-design-system",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"cssgen": "npx panda cssgen 'src/**/*.css'",
|
|
6
6
|
"prepare": "npx panda codegen",
|
|
@@ -13,18 +13,12 @@
|
|
|
13
13
|
"build-storybook": "storybook build"
|
|
14
14
|
},
|
|
15
15
|
"type": "module",
|
|
16
|
-
"exports": {
|
|
17
|
-
".": {
|
|
18
|
-
"import": "./dist/cetec-design-system.es.js"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
16
|
"files": [
|
|
22
17
|
"./dist/",
|
|
23
18
|
"./src/styles/*",
|
|
24
19
|
"./src/recipes/*",
|
|
25
20
|
"./src/tokens/*",
|
|
26
|
-
"./src/utils/*"
|
|
27
|
-
"./src/contexts/*"
|
|
21
|
+
"./src/utils/*"
|
|
28
22
|
],
|
|
29
23
|
"dependencies": {
|
|
30
24
|
"@fontsource-variable/recursive": "^5.1.1",
|
|
@@ -61,7 +55,8 @@
|
|
|
61
55
|
"svgo": "^3.0.2",
|
|
62
56
|
"typescript": "~5.7.3",
|
|
63
57
|
"typescript-eslint": "^8.18.2",
|
|
64
|
-
"vite": "^6.0.5"
|
|
58
|
+
"vite": "^6.0.5",
|
|
59
|
+
"vite-plugin-dts": "^4.5.4"
|
|
65
60
|
},
|
|
66
61
|
"eslintConfig": {
|
|
67
62
|
"extends": [
|
|
@@ -69,8 +64,16 @@
|
|
|
69
64
|
]
|
|
70
65
|
},
|
|
71
66
|
"description": "Cetec-ERP Design System",
|
|
72
|
-
"main": "./dist/cetec-design-system.js",
|
|
73
|
-
"module": "./dist/cetec-design-system.js",
|
|
67
|
+
"main": "./dist/cetec-design-system.es.js",
|
|
68
|
+
"module": "./dist/cetec-design-system.es.js",
|
|
69
|
+
"exports": {
|
|
70
|
+
".": {
|
|
71
|
+
"import": "./dist/cetec-design-system.es.js"
|
|
72
|
+
},
|
|
73
|
+
"./styled-system": {
|
|
74
|
+
"import": "./dist/styled-system"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
74
77
|
"repository": {
|
|
75
78
|
"type": "git",
|
|
76
79
|
"url": "git+https://github.com/Cetec-ERP/Cetec-Design-System.git"
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
export declare const IconNames: {
|
|
2
|
-
readonly 'aa-placeholder': "aa-placeholder";
|
|
3
|
-
readonly alarm: "alarm";
|
|
4
|
-
readonly apps: "apps";
|
|
5
|
-
readonly 'arrow-down': "arrow-down";
|
|
6
|
-
readonly 'arrow-drop-down': "arrow-drop-down";
|
|
7
|
-
readonly 'arrow-drop-up': "arrow-drop-up";
|
|
8
|
-
readonly 'arrow-left': "arrow-left";
|
|
9
|
-
readonly 'arrow-line-down': "arrow-line-down";
|
|
10
|
-
readonly 'arrow-line-left': "arrow-line-left";
|
|
11
|
-
readonly 'arrow-line-right': "arrow-line-right";
|
|
12
|
-
readonly 'arrow-line-up': "arrow-line-up";
|
|
13
|
-
readonly 'arrow-prompt': "arrow-prompt";
|
|
14
|
-
readonly 'arrow-redo': "arrow-redo";
|
|
15
|
-
readonly 'arrow-right': "arrow-right";
|
|
16
|
-
readonly 'arrow-square-in': "arrow-square-in";
|
|
17
|
-
readonly 'arrow-square-out': "arrow-square-out";
|
|
18
|
-
readonly 'arrow-undo': "arrow-undo";
|
|
19
|
-
readonly 'arrow-up': "arrow-up";
|
|
20
|
-
readonly 'arrows-down-up': "arrows-down-up";
|
|
21
|
-
readonly 'arrows-left-right': "arrows-left-right";
|
|
22
|
-
readonly at: "at";
|
|
23
|
-
readonly attachment: "attachment";
|
|
24
|
-
readonly 'barcode-reader': "barcode-reader";
|
|
25
|
-
readonly barcode: "barcode";
|
|
26
|
-
readonly basket: "basket";
|
|
27
|
-
readonly 'bell-active': "bell-active";
|
|
28
|
-
readonly 'bell-slash': "bell-slash";
|
|
29
|
-
readonly bell: "bell";
|
|
30
|
-
readonly bin: "bin";
|
|
31
|
-
readonly 'bookmark-outlined': "bookmark-outlined";
|
|
32
|
-
readonly bookmark: "bookmark";
|
|
33
|
-
readonly bookmarks: "bookmarks";
|
|
34
|
-
readonly Building: "Building";
|
|
35
|
-
readonly 'calendar-add': "calendar-add";
|
|
36
|
-
readonly 'calendar-view-day': "calendar-view-day";
|
|
37
|
-
readonly 'calendar-view-month': "calendar-view-month";
|
|
38
|
-
readonly 'calendar-view-week': "calendar-view-week";
|
|
39
|
-
readonly calendar: "calendar";
|
|
40
|
-
readonly 'caret-down': "caret-down";
|
|
41
|
-
readonly 'caret-left': "caret-left";
|
|
42
|
-
readonly 'caret-right': "caret-right";
|
|
43
|
-
readonly 'caret-up': "caret-up";
|
|
44
|
-
readonly cart: "cart";
|
|
45
|
-
readonly 'check-thick': "check-thick";
|
|
46
|
-
readonly check: "check";
|
|
47
|
-
readonly 'checkbox-checked': "checkbox-checked";
|
|
48
|
-
readonly 'checkbox-focus': "checkbox-focus";
|
|
49
|
-
readonly 'checkbox-indeterminate': "checkbox-indeterminate";
|
|
50
|
-
readonly checkbox: "checkbox";
|
|
51
|
-
readonly 'circle-check': "circle-check";
|
|
52
|
-
readonly circle: "circle";
|
|
53
|
-
readonly 'circles-add': "circles-add";
|
|
54
|
-
readonly clipboard: "clipboard";
|
|
55
|
-
readonly 'clock-countdown': "clock-countdown";
|
|
56
|
-
readonly clock: "clock";
|
|
57
|
-
readonly 'cloud-synced': "cloud-synced";
|
|
58
|
-
readonly code: "code";
|
|
59
|
-
readonly color: "color";
|
|
60
|
-
readonly copy: "copy";
|
|
61
|
-
readonly 'credit-card': "credit-card";
|
|
62
|
-
readonly cut: "cut";
|
|
63
|
-
readonly database: "database";
|
|
64
|
-
readonly devices: "devices";
|
|
65
|
-
readonly dictionary: "dictionary";
|
|
66
|
-
readonly dots: "dots";
|
|
67
|
-
readonly 'download-cloud': "download-cloud";
|
|
68
|
-
readonly download: "download";
|
|
69
|
-
readonly dragger: "dragger";
|
|
70
|
-
readonly edit: "edit";
|
|
71
|
-
readonly encrypted: "encrypted";
|
|
72
|
-
readonly envelope: "envelope";
|
|
73
|
-
readonly equal: "equal";
|
|
74
|
-
readonly eraser: "eraser";
|
|
75
|
-
readonly error: "error";
|
|
76
|
-
readonly 'event-list': "event-list";
|
|
77
|
-
readonly export: "export";
|
|
78
|
-
readonly extension: "extension";
|
|
79
|
-
readonly 'eye-slash': "eye-slash";
|
|
80
|
-
readonly eye: "eye";
|
|
81
|
-
readonly 'file-add': "file-add";
|
|
82
|
-
readonly file: "file";
|
|
83
|
-
readonly files: "files";
|
|
84
|
-
readonly 'filter-remove': "filter-remove";
|
|
85
|
-
readonly filter: "filter";
|
|
86
|
-
readonly finish: "finish";
|
|
87
|
-
readonly flag: "flag";
|
|
88
|
-
readonly forklift: "forklift";
|
|
89
|
-
readonly garage: "garage";
|
|
90
|
-
readonly globe: "globe";
|
|
91
|
-
readonly hash: "hash";
|
|
92
|
-
readonly 'heart-outlined': "heart-outlined";
|
|
93
|
-
readonly heart: "heart";
|
|
94
|
-
readonly help: "help";
|
|
95
|
-
readonly history: "history";
|
|
96
|
-
readonly home: "home";
|
|
97
|
-
readonly image: "image";
|
|
98
|
-
readonly images: "images";
|
|
99
|
-
readonly inbox: "inbox";
|
|
100
|
-
readonly infinity: "infinity";
|
|
101
|
-
readonly info: "info";
|
|
102
|
-
readonly inventory: "inventory";
|
|
103
|
-
readonly invoice: "invoice";
|
|
104
|
-
readonly 'jump-back': "jump-back";
|
|
105
|
-
readonly 'jump-forward': "jump-forward";
|
|
106
|
-
readonly 'kbd-backspace': "kbd-backspace";
|
|
107
|
-
readonly 'kbd-capslock': "kbd-capslock";
|
|
108
|
-
readonly 'kbd-command': "kbd-command";
|
|
109
|
-
readonly 'kbd-control': "kbd-control";
|
|
110
|
-
readonly 'kbd-hide': "kbd-hide";
|
|
111
|
-
readonly 'kbd-option': "kbd-option";
|
|
112
|
-
readonly 'kbd-return': "kbd-return";
|
|
113
|
-
readonly 'kbd-shift': "kbd-shift";
|
|
114
|
-
readonly 'kbd-space': "kbd-space";
|
|
115
|
-
readonly kbd: "kbd";
|
|
116
|
-
readonly 'link-slash': "link-slash";
|
|
117
|
-
readonly link: "link";
|
|
118
|
-
readonly 'list-bullets': "list-bullets";
|
|
119
|
-
readonly 'list-checks': "list-checks";
|
|
120
|
-
readonly 'list-numbers': "list-numbers";
|
|
121
|
-
readonly 'lock-open': "lock-open";
|
|
122
|
-
readonly lock: "lock";
|
|
123
|
-
readonly 'map-pin': "map-pin";
|
|
124
|
-
readonly 'mark-unread': "mark-unread";
|
|
125
|
-
readonly 'menu-close': "menu-close";
|
|
126
|
-
readonly menu: "menu";
|
|
127
|
-
readonly message: "message";
|
|
128
|
-
readonly messages: "messages";
|
|
129
|
-
readonly 'minus-thick': "minus-thick";
|
|
130
|
-
readonly minus: "minus";
|
|
131
|
-
readonly money: "money";
|
|
132
|
-
readonly monitor: "monitor";
|
|
133
|
-
readonly moon: "moon";
|
|
134
|
-
readonly note: "note";
|
|
135
|
-
readonly nut: "nut";
|
|
136
|
-
readonly order: "order";
|
|
137
|
-
readonly package: "package";
|
|
138
|
-
readonly 'page-first': "page-first";
|
|
139
|
-
readonly 'page-last': "page-last";
|
|
140
|
-
readonly parts: "parts";
|
|
141
|
-
readonly password: "password";
|
|
142
|
-
readonly pause: "pause";
|
|
143
|
-
readonly pencil: "pencil";
|
|
144
|
-
readonly percent: "percent";
|
|
145
|
-
readonly 'play-pause': "play-pause";
|
|
146
|
-
readonly play: "play";
|
|
147
|
-
readonly plus: "plus";
|
|
148
|
-
readonly printer: "printer";
|
|
149
|
-
readonly prohibit: "prohibit";
|
|
150
|
-
readonly 'question-mark': "question-mark";
|
|
151
|
-
readonly quote: "quote";
|
|
152
|
-
readonly 'radio-checked': "radio-checked";
|
|
153
|
-
readonly 'radio-focus': "radio-focus";
|
|
154
|
-
readonly radio: "radio";
|
|
155
|
-
readonly receipt: "receipt";
|
|
156
|
-
readonly refresh: "refresh";
|
|
157
|
-
readonly repeat: "repeat";
|
|
158
|
-
readonly 'reply-all': "reply-all";
|
|
159
|
-
readonly reply: "reply";
|
|
160
|
-
readonly ribbon: "ribbon";
|
|
161
|
-
readonly 'rows-add': "rows-add";
|
|
162
|
-
readonly rules: "rules";
|
|
163
|
-
readonly 'search-items': "search-items";
|
|
164
|
-
readonly search: "search";
|
|
165
|
-
readonly send: "send";
|
|
166
|
-
readonly settings: "settings";
|
|
167
|
-
readonly share: "share";
|
|
168
|
-
readonly shuffle: "shuffle";
|
|
169
|
-
readonly 'skip-back': "skip-back";
|
|
170
|
-
readonly 'skip-forward': "skip-forward";
|
|
171
|
-
readonly skull: "skull";
|
|
172
|
-
readonly sliders: "sliders";
|
|
173
|
-
readonly 'sort-alpha-down': "sort-alpha-down";
|
|
174
|
-
readonly 'sort-alpha-up': "sort-alpha-up";
|
|
175
|
-
readonly 'sort-ascending': "sort-ascending";
|
|
176
|
-
readonly 'sort-descending': "sort-descending";
|
|
177
|
-
readonly 'sort-time-down': "sort-time-down";
|
|
178
|
-
readonly 'sort-time-up': "sort-time-up";
|
|
179
|
-
readonly 'square-add': "square-add";
|
|
180
|
-
readonly square: "square";
|
|
181
|
-
readonly stamp: "stamp";
|
|
182
|
-
readonly 'star-outlined': "star-outlined";
|
|
183
|
-
readonly star: "star";
|
|
184
|
-
readonly start: "start";
|
|
185
|
-
readonly stop: "stop";
|
|
186
|
-
readonly success: "success";
|
|
187
|
-
readonly sun: "sun";
|
|
188
|
-
readonly support: "support";
|
|
189
|
-
readonly sync: "sync";
|
|
190
|
-
readonly tag: "tag";
|
|
191
|
-
readonly target: "target";
|
|
192
|
-
readonly 'text-add': "text-add";
|
|
193
|
-
readonly 'time-add': "time-add";
|
|
194
|
-
readonly timer: "timer";
|
|
195
|
-
readonly toolbox: "toolbox";
|
|
196
|
-
readonly tools: "tools";
|
|
197
|
-
readonly trash: "trash";
|
|
198
|
-
readonly trophy: "trophy";
|
|
199
|
-
readonly 'truck-trailer': "truck-trailer";
|
|
200
|
-
readonly update: "update";
|
|
201
|
-
readonly 'upload-cloud': "upload-cloud";
|
|
202
|
-
readonly upload: "upload";
|
|
203
|
-
readonly 'user-add': "user-add";
|
|
204
|
-
readonly 'user-details': "user-details";
|
|
205
|
-
readonly 'user-group': "user-group";
|
|
206
|
-
readonly 'user-id-badge': "user-id-badge";
|
|
207
|
-
readonly 'user-id-card': "user-id-card";
|
|
208
|
-
readonly user: "user";
|
|
209
|
-
readonly verified: "verified";
|
|
210
|
-
readonly video: "video";
|
|
211
|
-
readonly 'view-cards': "view-cards";
|
|
212
|
-
readonly 'view-doc': "view-doc";
|
|
213
|
-
readonly 'view-grid': "view-grid";
|
|
214
|
-
readonly 'view-rows': "view-rows";
|
|
215
|
-
readonly 'view-table': "view-table";
|
|
216
|
-
readonly warning: "warning";
|
|
217
|
-
readonly 'work-order': "work-order";
|
|
218
|
-
readonly x: "x";
|
|
219
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type Theme = 'light' | 'dark';
|
|
2
|
-
interface ThemeContextType {
|
|
3
|
-
theme: Theme;
|
|
4
|
-
setTheme: (theme: Theme) => void;
|
|
5
|
-
}
|
|
6
|
-
export declare function ThemeProvider({ children }: {
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare function useTheme(): ThemeContextType;
|
|
10
|
-
export {};
|
package/dist/recipes/box.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const boxRecipe: import("@pandacss/types").RecipeConfig<import("@pandacss/types").RecipeVariantRecord>;
|
package/dist/recipes/button.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const checkBoxRecipe: import("@pandacss/types").SlotRecipeConfig;
|
package/dist/recipes/code.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dividerRecipe: import("@pandacss/types").RecipeConfig<import("@pandacss/types").RecipeVariantRecord>;
|
package/dist/recipes/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { buttonRecipe, iconButtonRecipe } from './button';
|
|
2
|
-
export { inputRecipe } from './input';
|
|
3
|
-
export { textareaRecipe } from './textarea';
|
|
4
|
-
export { textRecipe, headingRecipe, linkRecipe, labelRecipe } from './text';
|
|
5
|
-
export { checkBoxRecipe } from "./checkbox";
|
|
6
|
-
export { spinnerRecipe } from "./spinner";
|
|
7
|
-
export { dividerRecipe } from "./divider";
|
|
8
|
-
export { preRecipe, codeRecipe } from "./code";
|
|
9
|
-
export { boxRecipe } from './box';
|
|
10
|
-
export { radioRecipe } from './radio';
|
|
11
|
-
export { textinputRecipe } from './textinput';
|
package/dist/recipes/input.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const inputRecipe: import("@pandacss/types").RecipeConfig<import("@pandacss/types").RecipeVariantRecord>;
|
package/dist/recipes/radio.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const radioRecipe: import("@pandacss/types").SlotRecipeConfig;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const spinnerRecipe: import("@pandacss/types").RecipeConfig<import("@pandacss/types").RecipeVariantRecord>;
|
package/dist/recipes/text.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const textRecipe: import("@pandacss/types").RecipeConfig<import("@pandacss/types").RecipeVariantRecord>;
|
|
2
|
-
export declare const headingRecipe: import("@pandacss/types").RecipeConfig<import("@pandacss/types").RecipeVariantRecord>;
|
|
3
|
-
export declare const linkRecipe: import("@pandacss/types").RecipeConfig<import("@pandacss/types").RecipeVariantRecord>;
|
|
4
|
-
export declare const labelRecipe: import("@pandacss/types").RecipeConfig<import("@pandacss/types").RecipeVariantRecord>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const textareaRecipe: import("@pandacss/types").RecipeConfig<import("@pandacss/types").RecipeVariantRecord>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const textinputRecipe: import("@pandacss/types").RecipeConfig<import("@pandacss/types").RecipeVariantRecord>;
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
export declare const conditions: {
|
|
2
|
-
hover: string;
|
|
3
|
-
focus: string;
|
|
4
|
-
focusWithin: string;
|
|
5
|
-
focusVisible: string;
|
|
6
|
-
disabled: string;
|
|
7
|
-
error: string;
|
|
8
|
-
active: string;
|
|
9
|
-
visited: string;
|
|
10
|
-
target: string;
|
|
11
|
-
readOnly: string;
|
|
12
|
-
readWrite: string;
|
|
13
|
-
empty: string;
|
|
14
|
-
checked: string;
|
|
15
|
-
enabled: string;
|
|
16
|
-
expanded: string;
|
|
17
|
-
highlighted: string;
|
|
18
|
-
before: string;
|
|
19
|
-
after: string;
|
|
20
|
-
firstLetter: string;
|
|
21
|
-
firstLine: string;
|
|
22
|
-
marker: string;
|
|
23
|
-
selection: string;
|
|
24
|
-
file: string;
|
|
25
|
-
backdrop: string;
|
|
26
|
-
first: string;
|
|
27
|
-
last: string;
|
|
28
|
-
only: string;
|
|
29
|
-
even: string;
|
|
30
|
-
odd: string;
|
|
31
|
-
firstOfType: string;
|
|
32
|
-
lastOfType: string;
|
|
33
|
-
onlyOfType: string;
|
|
34
|
-
peerFocus: string;
|
|
35
|
-
peerHover: string;
|
|
36
|
-
peerActive: string;
|
|
37
|
-
peerFocusWithin: string;
|
|
38
|
-
peerFocusVisible: string;
|
|
39
|
-
peerDisabled: string;
|
|
40
|
-
peerChecked: string;
|
|
41
|
-
peerInvalid: string;
|
|
42
|
-
peerExpanded: string;
|
|
43
|
-
peerPlaceholderShown: string;
|
|
44
|
-
groupFocus: string;
|
|
45
|
-
groupHover: string;
|
|
46
|
-
groupActive: string;
|
|
47
|
-
groupFocusWithin: string;
|
|
48
|
-
groupFocusVisible: string;
|
|
49
|
-
groupDisabled: string;
|
|
50
|
-
groupChecked: string;
|
|
51
|
-
groupExpanded: string;
|
|
52
|
-
groupInvalid: string;
|
|
53
|
-
indeterminate: string;
|
|
54
|
-
required: string;
|
|
55
|
-
valid: string;
|
|
56
|
-
invalid: string;
|
|
57
|
-
autofill: string;
|
|
58
|
-
inRange: string;
|
|
59
|
-
outOfRange: string;
|
|
60
|
-
placeholder: string;
|
|
61
|
-
placeholderShown: string;
|
|
62
|
-
pressed: string;
|
|
63
|
-
selected: string;
|
|
64
|
-
default: string;
|
|
65
|
-
optional: string;
|
|
66
|
-
open: string;
|
|
67
|
-
closed: string;
|
|
68
|
-
fullscreen: string;
|
|
69
|
-
loading: string;
|
|
70
|
-
currentPage: string;
|
|
71
|
-
currentStep: string;
|
|
72
|
-
motionReduce: string;
|
|
73
|
-
motionSafe: string;
|
|
74
|
-
print: string;
|
|
75
|
-
landscape: string;
|
|
76
|
-
portrait: string;
|
|
77
|
-
dark: string;
|
|
78
|
-
light: string;
|
|
79
|
-
osDark: string;
|
|
80
|
-
osLight: string;
|
|
81
|
-
highContrast: string;
|
|
82
|
-
lessContrast: string;
|
|
83
|
-
moreContrast: string;
|
|
84
|
-
ltr: string;
|
|
85
|
-
rtl: string;
|
|
86
|
-
scrollbar: string;
|
|
87
|
-
scrollbarThumb: string;
|
|
88
|
-
scrollbarTrack: string;
|
|
89
|
-
horizontal: string;
|
|
90
|
-
vertical: string;
|
|
91
|
-
starting: string;
|
|
92
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const globalCss: import("@pandacss/types").GlobalStyleObject;
|