@ciridae/ui 0.3.2 → 0.3.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.
- package/dist/assets/ciridae/brand-background-dark.webp +0 -0
- package/dist/assets/ciridae/brand-background-light.webp +0 -0
- package/dist/assets/ciridae/ciridae-black.svg +17 -0
- package/dist/assets/ciridae/ciridae-brand-assets.d.ts +25 -0
- package/dist/assets/ciridae/ciridae-brand-assets.js +25 -0
- package/dist/assets/ciridae/ciridae-icon-black.png +0 -0
- package/dist/assets/ciridae/ciridae-icon-white.png +0 -0
- package/dist/assets/ciridae/ciridae-ui-wordmark-black.png +0 -0
- package/dist/assets/ciridae/ciridae-ui-wordmark-white.png +0 -0
- package/dist/assets/ciridae/ciridae-white.svg +17 -0
- package/dist/assets/ciridae/ciridae-wordmark-black.png +0 -0
- package/dist/assets/ciridae/ciridae-wordmark-white.png +0 -0
- package/dist/assets/ciridae/favicon.ico +0 -0
- package/dist/assets/ciridae/logo-white.png +0 -0
- package/dist/assets/ciridae/sign-in-screenshot.png +0 -0
- package/dist/components/blocks/admin-users-table.d.ts +22 -0
- package/dist/components/blocks/admin-users-table.js +115 -0
- package/dist/components/blocks/comment-composer.d.ts +16 -0
- package/dist/components/blocks/comment-composer.js +113 -0
- package/dist/components/blocks/comment-item.d.ts +8 -0
- package/dist/components/blocks/comment-item.js +45 -0
- package/dist/components/blocks/comment-thread.d.ts +18 -0
- package/dist/components/blocks/comment-thread.js +30 -0
- package/dist/components/blocks/comment-types.d.ts +18 -0
- package/dist/components/blocks/comment-types.js +11 -0
- package/dist/components/blocks/feedback-center-comments.d.ts +12 -0
- package/dist/components/blocks/feedback-center-comments.js +11 -0
- package/dist/components/blocks/feedback-center-sheet-parts.d.ts +34 -0
- package/dist/components/blocks/feedback-center-sheet-parts.js +44 -0
- package/dist/components/blocks/feedback-center-sheet.d.ts +19 -0
- package/dist/components/blocks/feedback-center-sheet.js +46 -0
- package/dist/components/blocks/feedback-composer-parts.d.ts +16 -0
- package/dist/components/blocks/feedback-composer-parts.js +43 -0
- package/dist/components/blocks/feedback-composer-types.d.ts +11 -0
- package/dist/components/blocks/feedback-composer-types.js +1 -0
- package/dist/components/blocks/feedback-composer.d.ts +17 -0
- package/dist/components/blocks/feedback-composer.js +112 -0
- package/dist/components/blocks/feedback-date-format.d.ts +5 -0
- package/dist/components/blocks/feedback-date-format.js +11 -0
- package/dist/components/blocks/feedback-detail-sheet.d.ts +9 -0
- package/dist/components/blocks/feedback-detail-sheet.js +41 -0
- package/dist/components/blocks/feedback-metrics.d.ts +6 -0
- package/dist/components/blocks/feedback-metrics.js +15 -0
- package/dist/components/blocks/feedback-sheet.d.ts +8 -0
- package/dist/components/blocks/feedback-sheet.js +16 -0
- package/dist/components/blocks/feedback-status-badge.d.ts +6 -0
- package/dist/components/blocks/feedback-status-badge.js +14 -0
- package/dist/components/blocks/feedback-table-row.d.ts +6 -0
- package/dist/components/blocks/feedback-table-row.js +37 -0
- package/dist/components/blocks/feedback-table-sort.d.ts +11 -0
- package/dist/components/blocks/feedback-table-sort.js +81 -0
- package/dist/components/blocks/feedback-table.d.ts +16 -0
- package/dist/components/blocks/feedback-table.js +45 -0
- package/dist/components/blocks/feedback-tracking-types.d.ts +78 -0
- package/dist/components/blocks/feedback-tracking-types.js +36 -0
- package/dist/components/blocks/feedback-type-badge.d.ts +6 -0
- package/dist/components/blocks/feedback-type-badge.js +12 -0
- package/dist/components/blocks/feedback-user-detail.d.ts +10 -0
- package/dist/components/blocks/feedback-user-detail.js +57 -0
- package/dist/components/blocks/feedback-user-list.d.ts +9 -0
- package/dist/components/blocks/feedback-user-list.js +33 -0
- package/dist/components/blocks/invite-user-sheet.d.ts +20 -0
- package/dist/components/blocks/invite-user-sheet.js +72 -0
- package/dist/components/blocks/kanban-board-parts.d.ts +26 -0
- package/dist/components/blocks/kanban-board-parts.js +85 -0
- package/dist/components/blocks/kanban-board-utils.d.ts +42 -0
- package/dist/components/blocks/kanban-board-utils.js +115 -0
- package/dist/components/blocks/kanban-board.d.ts +16 -0
- package/dist/components/blocks/kanban-board.js +36 -0
- package/dist/components/blocks/kanban-card.d.ts +10 -0
- package/dist/components/blocks/kanban-card.js +34 -0
- package/dist/components/blocks/kanban-column.d.ts +17 -0
- package/dist/components/blocks/kanban-column.js +34 -0
- package/dist/components/blocks/kanban-detail-sheet.d.ts +17 -0
- package/dist/components/blocks/kanban-detail-sheet.js +34 -0
- package/dist/components/blocks/kanban-types.d.ts +24 -0
- package/dist/components/blocks/kanban-types.js +1 -0
- package/dist/components/blocks/timestamp-format.d.ts +8 -0
- package/dist/components/blocks/timestamp-format.js +66 -0
- package/dist/components/pages/admin-users-page.d.ts +11 -0
- package/dist/components/pages/admin-users-page.js +30 -0
- package/dist/components/pages/feedback-stakeholder-page-parts.d.ts +18 -0
- package/dist/components/pages/feedback-stakeholder-page-parts.js +36 -0
- package/dist/components/pages/feedback-stakeholder-page.d.ts +9 -0
- package/dist/components/pages/feedback-stakeholder-page.js +66 -0
- package/dist/components/pages/kanban-page.d.ts +13 -0
- package/dist/components/pages/kanban-page.js +68 -0
- package/dist/components/ui/calendar.d.ts +2 -1
- package/dist/components/ui/calendar.js +1 -1
- package/dist/components/ui/dialog.d.ts +2 -1
- package/dist/components/ui/dialog.js +2 -2
- package/dist/components/ui/page-header.d.ts +15 -1
- package/dist/components/ui/page-header.js +20 -2
- package/dist/components/ui/resizable.d.ts +9 -2
- package/dist/components/ui/resizable.js +3 -3
- package/dist/components/ui/sidebar-account-menu.d.ts +3 -1
- package/dist/components/ui/sidebar-account-menu.js +5 -5
- package/dist/components/ui/sonner.d.ts +2 -2
- package/dist/components/ui/sonner.js +2 -2
- package/dist/styled-system/css/css.d.ts +11 -16
- package/dist/styled-system/css/cva.d.ts +2 -4
- package/dist/styled-system/css/cx.d.ts +2 -3
- package/dist/styled-system/css/index.d.ts +1 -1
- package/dist/styled-system/css/sva.d.ts +1 -2
- package/dist/styled-system/patterns/aspect-ratio.d.ts +5 -9
- package/dist/styled-system/patterns/bleed.d.ts +6 -10
- package/dist/styled-system/patterns/box.d.ts +4 -9
- package/dist/styled-system/patterns/center.d.ts +5 -9
- package/dist/styled-system/patterns/circle.d.ts +5 -9
- package/dist/styled-system/patterns/container.d.ts +4 -9
- package/dist/styled-system/patterns/cq.d.ts +6 -10
- package/dist/styled-system/patterns/divider.d.ts +7 -11
- package/dist/styled-system/patterns/flex.d.ts +11 -15
- package/dist/styled-system/patterns/float.d.ts +8 -12
- package/dist/styled-system/patterns/grid-item.d.ts +10 -14
- package/dist/styled-system/patterns/grid.d.ts +9 -13
- package/dist/styled-system/patterns/hstack.d.ts +6 -10
- package/dist/styled-system/patterns/index.d.ts +1 -1
- package/dist/styled-system/patterns/link-overlay.d.ts +4 -9
- package/dist/styled-system/patterns/spacer.d.ts +5 -9
- package/dist/styled-system/patterns/square.d.ts +5 -9
- package/dist/styled-system/patterns/stack.d.ts +8 -12
- package/dist/styled-system/patterns/visually-hidden.d.ts +4 -9
- package/dist/styled-system/patterns/vstack.d.ts +6 -10
- package/dist/styled-system/patterns/wrap.d.ts +9 -13
- package/dist/styled-system/tokens/index.d.ts +4 -6
- package/dist/styled-system/tokens/tokens.d.ts +42 -61
- package/dist/styled-system/types/composition.d.ts +20 -211
- package/dist/styled-system/types/conditions.d.ts +297 -303
- package/dist/styled-system/types/csstype.d.ts +20289 -22518
- package/dist/styled-system/types/global.d.ts +11 -12
- package/dist/styled-system/types/index.d.ts +2 -2
- package/dist/styled-system/types/parts.d.ts +2 -3
- package/dist/styled-system/types/pattern.d.ts +75 -71
- package/dist/styled-system/types/prop-type.d.ts +236 -233
- package/dist/styled-system/types/recipe.d.ts +114 -155
- package/dist/styled-system/types/selectors.d.ts +8 -58
- package/dist/styled-system/types/static-css.d.ts +40 -47
- package/dist/styled-system/types/style-props.d.ts +8078 -8082
- package/dist/styled-system/types/system-types.d.ts +69 -111
- package/dist/styles.css +490 -1
- package/package.json +159 -7
|
@@ -1,151 +1,109 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export type DistributiveOmit<T, K extends keyof any> = T extends unknown ? Omit<T, K> : never
|
|
12
|
-
|
|
2
|
+
import type { ConditionalValue, Nested } from './conditions';
|
|
3
|
+
import type { AtRule, Globals, PropertiesFallback } from './csstype';
|
|
4
|
+
import type { SystemProperties, CssVarProperties } from './style-props';
|
|
5
|
+
type String = string & {};
|
|
6
|
+
type Number = number & {};
|
|
7
|
+
export type Pretty<T> = {
|
|
8
|
+
[K in keyof T]: T[K];
|
|
9
|
+
} & {};
|
|
10
|
+
export type DistributiveOmit<T, K extends keyof any> = T extends unknown ? Omit<T, K> : never;
|
|
13
11
|
export type DistributiveUnion<T, U> = {
|
|
14
|
-
|
|
15
|
-
} & DistributiveOmit<U, keyof T
|
|
16
|
-
|
|
12
|
+
[K in keyof T]: K extends keyof U ? U[K] | T[K] : T[K];
|
|
13
|
+
} & DistributiveOmit<U, keyof T>;
|
|
17
14
|
export type Assign<T, U> = {
|
|
18
|
-
|
|
19
|
-
} & U
|
|
20
|
-
|
|
15
|
+
[K in keyof T]: K extends keyof U ? U[K] : T[K];
|
|
16
|
+
} & U;
|
|
21
17
|
/* -----------------------------------------------------------------------------
|
|
22
18
|
* Native css properties
|
|
23
19
|
* -----------------------------------------------------------------------------*/
|
|
24
|
-
|
|
25
|
-
type CornerShapeValue = 'round' | 'square' | 'bevel' | 'scoop' | 'notch' | 'squircle' | `superellipse(${number})`
|
|
26
|
-
|
|
20
|
+
type CornerShapeValue = 'round' | 'square' | 'bevel' | 'scoop' | 'notch' | 'squircle' | `superellipse(${number})`;
|
|
27
21
|
export interface ModernCssProperties {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
*/
|
|
58
|
-
cornerShape?:
|
|
59
|
-
| Globals
|
|
60
|
-
| CornerShapeValue
|
|
61
|
-
| `${CornerShapeValue} ${CornerShapeValue}`
|
|
62
|
-
| `${CornerShapeValue} ${CornerShapeValue} ${CornerShapeValue}`
|
|
63
|
-
| `${CornerShapeValue} ${CornerShapeValue} ${CornerShapeValue} ${CornerShapeValue}`
|
|
64
|
-
| String
|
|
22
|
+
/**
|
|
23
|
+
* Controls whether the entire element should be draggable instead of its contents.
|
|
24
|
+
*/
|
|
25
|
+
WebkitUserDrag?: Globals | 'auto' | 'element' | 'none';
|
|
26
|
+
/**
|
|
27
|
+
* Specifies whether an element can be used to drag the entire app window (Electron).
|
|
28
|
+
*/
|
|
29
|
+
WebkitAppRegion?: Globals | 'drag' | 'no-drag';
|
|
30
|
+
/**
|
|
31
|
+
* Sets the horizontal spacing between table borders.
|
|
32
|
+
*/
|
|
33
|
+
WebkitBorderHorizontalSpacing?: Globals | String | Number;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the vertical spacing between table borders.
|
|
36
|
+
*/
|
|
37
|
+
WebkitBorderVerticalSpacing?: Globals | String | Number;
|
|
38
|
+
/**
|
|
39
|
+
* Controls the display of text content for security purposes (e.g., password fields).
|
|
40
|
+
*/
|
|
41
|
+
WebkitTextSecurity?: Globals | 'none' | 'circle' | 'disc' | 'square';
|
|
42
|
+
/**
|
|
43
|
+
* Specifies the shape of a box's corners within the area defined by the border-radius property.
|
|
44
|
+
* @experimental
|
|
45
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/corner-shape
|
|
46
|
+
*/
|
|
47
|
+
cornerShape?: Globals | CornerShapeValue | `${CornerShapeValue} ${CornerShapeValue}` | `${CornerShapeValue} ${CornerShapeValue} ${CornerShapeValue}` | `${CornerShapeValue} ${CornerShapeValue} ${CornerShapeValue} ${CornerShapeValue}` | String;
|
|
48
|
+
}
|
|
49
|
+
export type CssProperty = keyof PropertiesFallback;
|
|
50
|
+
export interface CssProperties extends PropertiesFallback<String | Number>, CssVarProperties, ModernCssProperties {
|
|
65
51
|
}
|
|
66
|
-
|
|
67
|
-
export type CssProperty = keyof PropertiesFallback
|
|
68
|
-
|
|
69
|
-
export interface CssProperties extends PropertiesFallback<String | Number>, CssVarProperties, ModernCssProperties {}
|
|
70
|
-
|
|
71
52
|
export interface CssKeyframes {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
53
|
+
[name: string]: {
|
|
54
|
+
[time: string]: CssProperties;
|
|
55
|
+
};
|
|
75
56
|
}
|
|
76
|
-
|
|
77
57
|
/* -----------------------------------------------------------------------------
|
|
78
58
|
* Conditional css properties
|
|
79
59
|
* -----------------------------------------------------------------------------*/
|
|
80
|
-
|
|
81
60
|
interface GenericProperties {
|
|
82
|
-
|
|
61
|
+
[key: string]: ConditionalValue<String | Number | boolean>;
|
|
83
62
|
}
|
|
84
|
-
|
|
85
63
|
/* -----------------------------------------------------------------------------
|
|
86
64
|
* Native css props
|
|
87
65
|
* -----------------------------------------------------------------------------*/
|
|
88
|
-
|
|
89
|
-
export type
|
|
90
|
-
|
|
91
|
-
export type SystemStyleObject = Omit<Nested<SystemProperties & CssVarProperties>, 'base'>
|
|
92
|
-
|
|
66
|
+
export type NestedCssProperties = Nested<CssProperties>;
|
|
67
|
+
export type SystemStyleObject = Omit<Nested<SystemProperties & CssVarProperties>, 'base'>;
|
|
93
68
|
export interface GlobalStyleObject {
|
|
94
|
-
|
|
69
|
+
[selector: string]: SystemStyleObject;
|
|
95
70
|
}
|
|
96
71
|
export interface ExtendableGlobalStyleObject {
|
|
97
|
-
|
|
98
|
-
|
|
72
|
+
[selector: string]: SystemStyleObject | undefined;
|
|
73
|
+
extend?: GlobalStyleObject | undefined;
|
|
99
74
|
}
|
|
100
|
-
|
|
101
75
|
/* -----------------------------------------------------------------------------
|
|
102
76
|
* Composition (text styles, layer styles)
|
|
103
77
|
* -----------------------------------------------------------------------------*/
|
|
104
|
-
|
|
105
78
|
type FilterStyleObject<P extends string> = {
|
|
106
|
-
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export type CompositionStyleObject<Property extends string> = Nested<FilterStyleObject<Property> & CssVarProperties>
|
|
110
|
-
|
|
79
|
+
[K in P]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown;
|
|
80
|
+
};
|
|
81
|
+
export type CompositionStyleObject<Property extends string> = Nested<FilterStyleObject<Property> & CssVarProperties>;
|
|
111
82
|
/* -----------------------------------------------------------------------------
|
|
112
83
|
* Font face
|
|
113
84
|
* -----------------------------------------------------------------------------*/
|
|
114
|
-
|
|
115
|
-
export type
|
|
116
|
-
|
|
117
|
-
export type FontfaceRule = Omit<GlobalFontfaceRule, 'fontFamily'>
|
|
118
|
-
|
|
85
|
+
export type GlobalFontfaceRule = Omit<AtRule.FontFaceFallback, 'src'> & Required<Pick<AtRule.FontFaceFallback, 'src'>>;
|
|
86
|
+
export type FontfaceRule = Omit<GlobalFontfaceRule, 'fontFamily'>;
|
|
119
87
|
export interface GlobalFontface {
|
|
120
|
-
|
|
88
|
+
[name: string]: FontfaceRule | FontfaceRule[];
|
|
121
89
|
}
|
|
122
|
-
|
|
123
90
|
export interface ExtendableGlobalFontface {
|
|
124
|
-
|
|
125
|
-
|
|
91
|
+
[name: string]: FontfaceRule | FontfaceRule[] | GlobalFontface | undefined;
|
|
92
|
+
extend?: GlobalFontface | undefined;
|
|
126
93
|
}
|
|
127
|
-
|
|
128
94
|
/* -----------------------------------------------------------------------------
|
|
129
95
|
* Jsx style props
|
|
130
96
|
* -----------------------------------------------------------------------------*/
|
|
131
97
|
interface WithCss {
|
|
132
|
-
|
|
98
|
+
css?: SystemStyleObject | SystemStyleObject[];
|
|
133
99
|
}
|
|
134
|
-
|
|
135
|
-
export type JsxStyleProps = SystemStyleObject & WithCss
|
|
136
|
-
|
|
100
|
+
export type JsxStyleProps = SystemStyleObject & WithCss;
|
|
137
101
|
export interface PatchedHTMLProps {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
102
|
+
htmlWidth?: string | number;
|
|
103
|
+
htmlHeight?: string | number;
|
|
104
|
+
htmlTranslate?: 'yes' | 'no' | undefined;
|
|
105
|
+
htmlContent?: string;
|
|
142
106
|
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
type WithHTMLProps<T> = DistributiveOmit<T, OmittedHTMLProps> & PatchedHTMLProps
|
|
147
|
-
|
|
148
|
-
export type JsxHTMLProps<T extends Record<string, any>, P extends Record<string, any> = {}> = Assign<
|
|
149
|
-
WithHTMLProps<T>,
|
|
150
|
-
P
|
|
151
|
-
>
|
|
107
|
+
export type OmittedHTMLProps = 'color' | 'translate' | 'transition' | 'width' | 'height' | 'content';
|
|
108
|
+
type WithHTMLProps<T> = DistributiveOmit<T, OmittedHTMLProps> & PatchedHTMLProps;
|
|
109
|
+
export type JsxHTMLProps<T extends Record<string, any>, P extends Record<string, any> = {}> = Assign<WithHTMLProps<T>, P>;
|