@nimbus-ds/components 5.51.0 → 5.52.0-rc.1

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 (92) hide show
  1. package/package.json +2 -2
  2. package/dist/Accordion/index.d.ts +0 -160
  3. package/dist/Accordion/index.js +0 -2
  4. package/dist/Alert/index.d.ts +0 -60
  5. package/dist/Alert/index.js +0 -2
  6. package/dist/Badge/index.d.ts +0 -55
  7. package/dist/Badge/index.js +0 -2
  8. package/dist/Box/index.d.ts +0 -788
  9. package/dist/Box/index.js +0 -2
  10. package/dist/Button/index.d.ts +0 -88
  11. package/dist/Button/index.js +0 -2
  12. package/dist/CHANGELOG.md +0 -877
  13. package/dist/Card/index.d.ts +0 -153
  14. package/dist/Card/index.js +0 -2
  15. package/dist/Checkbox/index.d.ts +0 -68
  16. package/dist/Checkbox/index.js +0 -2
  17. package/dist/Chip/index.d.ts +0 -59
  18. package/dist/Chip/index.js +0 -2
  19. package/dist/Collapsible/index.d.ts +0 -45
  20. package/dist/Collapsible/index.js +0 -2
  21. package/dist/Divider/index.d.ts +0 -30
  22. package/dist/Divider/index.js +0 -2
  23. package/dist/FileUploader/index.d.ts +0 -209
  24. package/dist/FileUploader/index.js +0 -2
  25. package/dist/Icon/index.d.ts +0 -121
  26. package/dist/Icon/index.js +0 -2
  27. package/dist/IconButton/index.d.ts +0 -172
  28. package/dist/IconButton/index.js +0 -2
  29. package/dist/Input/index.d.ts +0 -76
  30. package/dist/Input/index.js +0 -2
  31. package/dist/Label/index.d.ts +0 -55
  32. package/dist/Label/index.js +0 -2
  33. package/dist/Link/index.d.ts +0 -115
  34. package/dist/Link/index.js +0 -2
  35. package/dist/List/index.d.ts +0 -105
  36. package/dist/List/index.js +0 -2
  37. package/dist/Modal/index.d.ts +0 -239
  38. package/dist/Modal/index.js +0 -2
  39. package/dist/MultiSelect/index.d.ts +0 -107
  40. package/dist/MultiSelect/index.js +0 -2
  41. package/dist/Pagination/index.d.ts +0 -41
  42. package/dist/Pagination/index.js +0 -2
  43. package/dist/Popover/index.d.ts +0 -166
  44. package/dist/Popover/index.js +0 -2
  45. package/dist/ProgressBar/index.d.ts +0 -57
  46. package/dist/ProgressBar/index.js +0 -2
  47. package/dist/README.md +0 -235
  48. package/dist/Radio/index.d.ts +0 -62
  49. package/dist/Radio/index.js +0 -2
  50. package/dist/ScrollPane/index.d.ts +0 -921
  51. package/dist/ScrollPane/index.js +0 -2
  52. package/dist/SegmentedControl/index.d.ts +0 -888
  53. package/dist/SegmentedControl/index.js +0 -2
  54. package/dist/Select/index.d.ts +0 -87
  55. package/dist/Select/index.js +0 -2
  56. package/dist/Sidebar/index.d.ts +0 -390
  57. package/dist/Sidebar/index.js +0 -2
  58. package/dist/Skeleton/index.d.ts +0 -31
  59. package/dist/Skeleton/index.js +0 -2
  60. package/dist/Slider/index.d.ts +0 -156
  61. package/dist/Slider/index.js +0 -2
  62. package/dist/Spinner/index.d.ts +0 -53
  63. package/dist/Spinner/index.js +0 -2
  64. package/dist/SplitButton/index.d.ts +0 -1018
  65. package/dist/SplitButton/index.js +0 -2
  66. package/dist/Stepper/index.d.ts +0 -882
  67. package/dist/Stepper/index.js +0 -2
  68. package/dist/Table/index.d.ts +0 -178
  69. package/dist/Table/index.js +0 -2
  70. package/dist/Tabs/index.d.ts +0 -92
  71. package/dist/Tabs/index.js +0 -2
  72. package/dist/Tag/index.d.ts +0 -51
  73. package/dist/Tag/index.js +0 -2
  74. package/dist/Text/index.d.ts +0 -599
  75. package/dist/Text/index.js +0 -2
  76. package/dist/Textarea/index.d.ts +0 -76
  77. package/dist/Textarea/index.js +0 -2
  78. package/dist/Thumbnail/index.d.ts +0 -73
  79. package/dist/Thumbnail/index.js +0 -2
  80. package/dist/TimePicker/index.d.ts +0 -343
  81. package/dist/TimePicker/index.js +0 -2
  82. package/dist/Title/index.d.ts +0 -165
  83. package/dist/Title/index.js +0 -2
  84. package/dist/Toast/index.d.ts +0 -63
  85. package/dist/Toast/index.js +0 -2
  86. package/dist/Toggle/index.d.ts +0 -48
  87. package/dist/Toggle/index.js +0 -2
  88. package/dist/Tooltip/index.d.ts +0 -47
  89. package/dist/Tooltip/index.js +0 -2
  90. package/dist/components-props.json +0 -1
  91. package/dist/index.d.ts +0 -4749
  92. package/dist/index.js +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-ds/components",
3
- "version": "5.51.0",
3
+ "version": "5.52.0-rc.1",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@floating-ui/react": "^0.27.5",
18
- "@nimbus-ds/icons": "^1.16.0",
18
+ "@nimbus-ds/icons": "^1.17.0",
19
19
  "react-indiana-drag-scroll": "^2.2.0"
20
20
  },
21
21
  "peerDependencies": {
@@ -1,160 +0,0 @@
1
- // Generated by dts-bundle-generator v7.2.0
2
-
3
- import React from 'react';
4
- import { HTMLAttributes, ReactNode } from 'react';
5
-
6
- declare const accordion: {
7
- sprinkle: ((props: {
8
- borderTop?: "base" | "none" | undefined;
9
- borderBottom?: "base" | "none" | undefined;
10
- padding?: "base" | "none" | undefined;
11
- }) => string) & {
12
- properties: Set<"borderBottom" | "borderTop" | "padding">;
13
- };
14
- properties: {
15
- borderTop: {
16
- none: string;
17
- base: string;
18
- };
19
- borderBottom: {
20
- none: string;
21
- base: string;
22
- };
23
- padding: {
24
- none: string;
25
- base: string;
26
- };
27
- };
28
- classnames: {
29
- header: string;
30
- header_static: string;
31
- header__content: string;
32
- header__description: string;
33
- header__title: string;
34
- header_active: string;
35
- body: string;
36
- };
37
- };
38
- export interface AccordionBodyProperties {
39
- /**
40
- * The content of the accordion body.
41
- * @TJS-type React.ReactNode
42
- */
43
- children: ReactNode;
44
- /**
45
- * The borderBottom property defines a lower border of the accordion body.
46
- * @default none
47
- */
48
- borderBottom?: keyof typeof accordion.properties.borderBottom;
49
- /**
50
- * The borderTop property defines a top border of the accordion body.
51
- * @default none
52
- */
53
- borderTop?: keyof typeof accordion.properties.borderTop;
54
- /**
55
- * Padding properties are used to generate space around the content area of an Accordion.Body..
56
- * @default base
57
- */
58
- padding?: keyof typeof accordion.properties.padding;
59
- }
60
- export type AccordionBodyProps = AccordionBodyProperties & HTMLAttributes<HTMLElement>;
61
- export declare const AccordionBody: React.FC<AccordionBodyProps>;
62
- export interface AccordionItemProperties {
63
- /**
64
- * The content of the accordion body.
65
- * @TJS-type React.ReactNode
66
- */
67
- children: ReactNode;
68
- /**
69
- * Unique indicator to identify accordion items
70
- */
71
- index: string;
72
- /**
73
- * Determines if the accordion item is interactive (clickable) or static.
74
- * When false, the header renders as a div without click handlers, hover effects, or toggle icon.
75
- * @default true
76
- */
77
- interactive?: boolean;
78
- /**
79
- * This is an attribute used to identify a DOM node for testing purposes.
80
- */
81
- testId?: string;
82
- }
83
- export type AccordionItemProps = AccordionItemProperties;
84
- export declare const AccordionItem: React.FC<AccordionItemProps>;
85
- export interface AccordionHeaderProperties {
86
- /**
87
- * The content of the accordion header.
88
- * @TJS-type React.ReactNode | ((data: { selected: string; index: string }) => React.ReactNode);
89
- */
90
- children?: ReactNode | ((data: {
91
- selected: string;
92
- index: string;
93
- }) => ReactNode);
94
- /**
95
- * The title to display in the accordion header.
96
- */
97
- title?: string;
98
- /**
99
- * The subtitle to display in the accordion header.
100
- */
101
- subtitle?: string;
102
- /**
103
- * The SVG contents to display in the accordion header.
104
- * @TJS-type React.ReactNode
105
- */
106
- icon?: ReactNode;
107
- /**
108
- * Removes the arrow icon that shows if the accordion item is open or not which makes it possible to create a custom indicator.
109
- * @default false
110
- */
111
- noIconToggle?: boolean;
112
- /**
113
- * The borderTop property defines a lower border of the accordion header.
114
- * @default base
115
- */
116
- borderTop?: keyof typeof accordion.properties.borderTop;
117
- /**
118
- * The borderBottom property defines a lower border of the accordion header.
119
- */
120
- borderBottom?: keyof typeof accordion.properties.borderBottom;
121
- }
122
- export type AccordionHeaderProps = AccordionHeaderProperties & Omit<HTMLAttributes<HTMLElement>, "children">;
123
- export declare const AccordionHeader: React.FC<AccordionHeaderProps>;
124
- export interface AccordionComponents {
125
- Body: typeof AccordionBody;
126
- Item: typeof AccordionItem;
127
- Header: typeof AccordionHeader;
128
- }
129
- export interface AccordionBaseProperties {
130
- /**
131
- * The content of the accordion.
132
- * @TJS-type React.ReactNode
133
- */
134
- children?: ReactNode;
135
- }
136
- export interface UncontrolledAccordionProperties extends AccordionBaseProperties {
137
- /**
138
- * Informs which accordion item is open by default, this value must be the same as informed in the index of each item
139
- */
140
- selectedDefault?: string;
141
- }
142
- export interface ControlledAccordionProperties extends AccordionBaseProperties {
143
- /**
144
- * The currently selected accordion item ID.
145
- */
146
- selectedItem: string;
147
- /**
148
- * Callback fired when the selected accordion item changes.
149
- * @param selectedId The ID of the selected accordion item
150
- */
151
- onItemSelect?: (selectedId: string) => void;
152
- }
153
- /**
154
- * Props for the Accordion component, supporting both controlled and uncontrolled modes
155
- */
156
- export type AccordionProps = (UncontrolledAccordionProperties | ControlledAccordionProperties) & Omit<HTMLAttributes<HTMLElement>, "onItemSelect" | "selectedItem">;
157
- export type AccordionProperties = AccordionBaseProperties & UncontrolledAccordionProperties & ControlledAccordionProperties;
158
- export declare const Accordion: React.FC<AccordionProps> & AccordionComponents;
159
-
160
- export {};