@itcase/ui 1.8.40 → 1.8.42

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 (158) hide show
  1. package/dist/{Button_cjs_Ctkyt2ES.js → Button_cjs_Bzx1GdT5.js} +2 -23
  2. package/dist/{Button_es_BiIuX0ER.js → Button_es_DhCLxWhq.js} +2 -23
  3. package/dist/{DatePicker_cjs_D_1v2mS0.js → DatePicker_cjs_Cq8vqj3E.js} +1 -1
  4. package/dist/{DatePicker_es_CQwbdG0g.js → DatePicker_es_DYs71cnU.js} +1 -1
  5. package/dist/cjs/components/Button.js +1 -1
  6. package/dist/cjs/components/CookiesWarning.js +1 -1
  7. package/dist/cjs/components/DatePeriod.js +2 -2
  8. package/dist/cjs/components/DatePicker.js +2 -2
  9. package/dist/cjs/components/Response.js +1 -1
  10. package/dist/cjs/components/Segmented.js +18 -1
  11. package/dist/components/Button.js +1 -1
  12. package/dist/components/CookiesWarning.js +1 -1
  13. package/dist/components/DatePeriod.js +2 -2
  14. package/dist/components/DatePicker.js +2 -2
  15. package/dist/components/Response.js +1 -1
  16. package/dist/components/Segmented.js +18 -1
  17. package/dist/css/components/Button/Button.css +7 -4
  18. package/dist/stories/AccordionOverview.mdx +1 -1
  19. package/dist/stories/AccordionPlayground.mdx +1 -1
  20. package/dist/stories/AvatarOverview.mdx +1 -1
  21. package/dist/stories/AvatarPlayground.mdx +1 -1
  22. package/dist/stories/AvatarStackOverview.mdx +1 -1
  23. package/dist/stories/AvatarStackPlayground.mdx +1 -1
  24. package/dist/stories/BadgeOverview.mdx +1 -1
  25. package/dist/stories/BadgePlayground.mdx +1 -1
  26. package/dist/stories/BreadcrumbsOverview.mdx +1 -1
  27. package/dist/stories/BreadcrumbsPlsyground.mdx +1 -1
  28. package/dist/stories/ButtonOverview.mdx +1 -1
  29. package/dist/stories/ButtonPlayground.mdx +1 -1
  30. package/dist/stories/CellOverview.mdx +1 -1
  31. package/dist/stories/CellPlayground.mdx +1 -1
  32. package/dist/stories/CheckboxOverview.mdx +1 -1
  33. package/dist/stories/CheckboxPlayground.mdx +1 -1
  34. package/dist/stories/CheckmarkOverview.mdx +1 -1
  35. package/dist/stories/CheckmarkPlayground.mdx +1 -1
  36. package/dist/stories/ChipsOverview.mdx +1 -1
  37. package/dist/stories/ChipsPlayground.mdx +1 -1
  38. package/dist/stories/ChoiceOverview.mdx +1 -1
  39. package/dist/stories/ChoicePlayground.mdx +1 -1
  40. package/dist/stories/CodeOverview.mdx +1 -1
  41. package/dist/stories/CodePlayground.mdx +1 -1
  42. package/dist/stories/Components.mdx +3 -3
  43. package/dist/stories/CookiesWarningOverview.mdx +1 -1
  44. package/dist/stories/CookiesWarningPlayground.mdx +1 -1
  45. package/dist/stories/DadataOverview.mdx +1 -1
  46. package/dist/stories/DadataPlaygroynd.mdx +1 -1
  47. package/dist/stories/DatePeriodOverview.mdx +1 -1
  48. package/dist/stories/DatePeriodPlayground.mdx +1 -1
  49. package/dist/stories/DatePickerOverview.mdx +1 -1
  50. package/dist/stories/DatePickerPlayground.mdx +1 -1
  51. package/dist/stories/DividerOverview.mdx +1 -1
  52. package/dist/stories/DividerPlayground.mdx +1 -1
  53. package/dist/stories/DotOverview.mdx +1 -1
  54. package/dist/stories/DotPlayground.mdx +1 -1
  55. package/dist/stories/DrawerOverview.mdx +1 -1
  56. package/dist/stories/DrawerPlayground.mdx +1 -1
  57. package/dist/stories/DropdownOverview.mdx +1 -1
  58. package/dist/stories/DropdownPlayground.mdx +1 -1
  59. package/dist/stories/FlexAlignContent.mdx +1 -1
  60. package/dist/stories/FlexAlignItems.mdx +1 -1
  61. package/dist/stories/FlexAlignSelf.mdx +1 -1
  62. package/dist/stories/FlexDirection.mdx +1 -1
  63. package/dist/stories/FlexGrow.mdx +1 -1
  64. package/dist/stories/FlexJustifyContent.mdx +1 -1
  65. package/dist/stories/FlexOrder.mdx +1 -1
  66. package/dist/stories/FlexOverview.mdx +1 -1
  67. package/dist/stories/FlexPlayground.mdx +1 -1
  68. package/dist/stories/FlexWrap.mdx +1 -1
  69. package/dist/stories/GridOverview.mdx +1 -1
  70. package/dist/stories/GridPlayground.mdx +1 -1
  71. package/dist/stories/GroupAlignItems.mdx +1 -1
  72. package/dist/stories/GroupAlignSelf.mdx +1 -1
  73. package/dist/stories/GroupColumns.mdx +1 -1
  74. package/dist/stories/GroupDirection.mdx +1 -1
  75. package/dist/stories/GroupJustifyContent.mdx +1 -1
  76. package/dist/stories/GroupOverview.mdx +1 -1
  77. package/dist/stories/GroupPlayground.mdx +1 -1
  78. package/dist/stories/GroupWrap.mdx +1 -1
  79. package/dist/stories/HTMLContentOverview.mdx +1 -1
  80. package/dist/stories/HTMLContentPlayground.mdx +1 -1
  81. package/dist/stories/HeroTitleOverview.mdx +1 -1
  82. package/dist/stories/HeroTitlePlayground.mdx +1 -1
  83. package/dist/stories/IconOverview.mdx +1 -1
  84. package/dist/stories/IconPlayground.mdx +1 -1
  85. package/dist/stories/ImageOverview.mdx +1 -1
  86. package/dist/stories/ImagePlayground.mdx +1 -1
  87. package/dist/stories/InputOverview.mdx +1 -1
  88. package/dist/stories/InputPasswordOverview.mdx +1 -1
  89. package/dist/stories/InputPasswordPlayground.mdx +1 -1
  90. package/dist/stories/InputPlayground.mdx +1 -1
  91. package/dist/stories/LabelOverview.mdx +1 -1
  92. package/dist/stories/LabelPlayground.mdx +1 -1
  93. package/dist/stories/LinkOverview.mdx +1 -1
  94. package/dist/stories/LinkPlayground.mdx +1 -1
  95. package/dist/stories/ListOverview.mdx +1 -1
  96. package/dist/stories/ListPlayground.mdx +1 -1
  97. package/dist/stories/LoaderOverview.mdx +1 -1
  98. package/dist/stories/LoaderPlayground.mdx +1 -1
  99. package/dist/stories/LogoOverview.mdx +1 -1
  100. package/dist/stories/LogoPlayground.mdx +1 -1
  101. package/dist/stories/MenuItemOverview.mdx +1 -1
  102. package/dist/stories/MenuItemPlayground.mdx +1 -1
  103. package/dist/stories/MixinAnimation.mdx +1 -1
  104. package/dist/stories/MixinDarkLight.mdx +1 -1
  105. package/dist/stories/MixinElevation.mdx +1 -1
  106. package/dist/stories/MixinFillGradient.mdx +1 -1
  107. package/dist/stories/MixinTypography.mdx +1 -1
  108. package/dist/stories/MixinUtils.mdx +1 -1
  109. package/dist/stories/ModalOverview.mdx +1 -1
  110. package/dist/stories/ModalPlayground.mdx +1 -1
  111. package/dist/stories/ModalSheetBottomOverview.mdx +1 -1
  112. package/dist/stories/NotificationOverview.mdx +1 -1
  113. package/dist/stories/NotificationPlayground.mdx +1 -1
  114. package/dist/stories/OverlayOverview.mdx +1 -1
  115. package/dist/stories/OverlayPlayground.mdx +1 -1
  116. package/dist/stories/Overview.mdx +1 -1
  117. package/dist/stories/Playground.mdx +1 -1
  118. package/dist/stories/RadioOverview.mdx +1 -1
  119. package/dist/stories/RadioPlayground.mdx +1 -1
  120. package/dist/stories/RangeSliderOverview.mdx +1 -1
  121. package/dist/stories/RangeSliderPlayground.mdx +1 -1
  122. package/dist/stories/ResponseOverview.mdx +1 -1
  123. package/dist/stories/ResponsePlayground.mdx +1 -1
  124. package/dist/stories/SVGContentOverview.mdx +1 -1
  125. package/dist/stories/SVGContentPlayground.mdx +1 -1
  126. package/dist/stories/ScrollOnDragOverview.mdx +1 -1
  127. package/dist/stories/ScrollOnDragPlayground.mdx +1 -1
  128. package/dist/stories/ScrollbarOverview.mdx +1 -1
  129. package/dist/stories/ScrollbarPlayground.mdx +1 -1
  130. package/dist/stories/SearchOverview.mdx +1 -1
  131. package/dist/stories/SearchPlayground.mdx +1 -1
  132. package/dist/stories/SegmentedOverview.mdx +1 -1
  133. package/dist/stories/SegmentedPlayground.mdx +1 -1
  134. package/dist/stories/SwiperOverview.mdx +1 -1
  135. package/dist/stories/SwiperPlayground.mdx +1 -1
  136. package/dist/stories/SwitchOverview.mdx +1 -1
  137. package/dist/stories/SwitchPlayground.mdx +1 -1
  138. package/dist/stories/TabOverview.mdx +1 -1
  139. package/dist/stories/TabPlayground.mdx +1 -1
  140. package/dist/stories/TextOverview.mdx +1 -1
  141. package/dist/stories/TextPlayground.mdx +1 -1
  142. package/dist/stories/TileOverview.mdx +1 -1
  143. package/dist/stories/TilePlayground.mdx +1 -1
  144. package/dist/stories/TitleOverview.mdx +1 -1
  145. package/dist/stories/TitlePlayground.mdx +1 -1
  146. package/dist/stories/TooltipOverview.mdx +1 -1
  147. package/dist/stories/TooltipPlayground.mdx +1 -1
  148. package/dist/stories/VideoOverview.mdx +1 -1
  149. package/dist/stories/VideoPlayground.mdx +1 -1
  150. package/dist/stories/useAppearanceConfig.mdx +1 -1
  151. package/dist/stories/useDevicePropsGenerator.mdx +1 -1
  152. package/dist/stories/useMediaQueries.mdx +1 -1
  153. package/dist/stories/useStyles.mdx +1 -1
  154. package/dist/types/components/Button/appearance/buttonAccent.d.ts +0 -11
  155. package/dist/types/components/Button/appearance/buttonDanger.d.ts +0 -10
  156. package/dist/types/components/Segmented/appearance/segmentedDefault.d.ts +17 -0
  157. package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +1 -1
  158. package/package.json +5 -6
@@ -1,4 +1,4 @@
1
- import { Canvas, Controls, Meta } from '@storybook/blocks'
1
+ import { Canvas, Controls, Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as TabStories from '../stories/TabDemo.stories'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta, Story } from '@storybook/blocks'
1
+ import { Meta, Story } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as TextStories from '../stories/TextSize.stories'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Canvas, Controls, Meta } from '@storybook/blocks'
1
+ import { Canvas, Controls, Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as TextStories from '../stories/TextSize.stories'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta, Story } from '@storybook/blocks'
1
+ import { Meta, Story } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as TileStories from '../stories/TileDemo.stories'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Canvas, Controls, Meta } from '@storybook/blocks'
1
+ import { Canvas, Controls, Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as TileStories from '../stories/TileDemo.stories'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta, Story } from '@storybook/blocks'
1
+ import { Meta, Story } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as TitleStories from '../stories/TitleDemo.stories'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Canvas, Controls, Meta } from '@storybook/blocks'
1
+ import { Canvas, Controls, Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as TitleStories from '../stories/TitleDemo.stories'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta, Story } from '@storybook/blocks'
1
+ import { Meta, Story } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as TooltipStories from '../stories/TooltipDemo.stories'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Canvas, Controls, Meta } from '@storybook/blocks'
1
+ import { Canvas, Controls, Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as TooltipStories from '../stories/TooltipDemo.stories'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta, Story } from '@storybook/blocks'
1
+ import { Meta, Story } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as VideoStories from '../stories/VideoDemo.stories'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Canvas, Controls, Meta } from '@storybook/blocks'
1
+ import { Canvas, Controls, Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  import * as VideoStories from '../stories/VideoDemo.stories'
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/blocks'
1
+ import { Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  <Meta title="Hooks / useAppearanceConfig" />
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/blocks'
1
+ import { Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  <Meta title="Hooks / useDevicePropsGenerator" />
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/blocks'
1
+ import { Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  <Meta title="Hooks / useMediaQueries" />
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/blocks'
1
+ import { Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  <Meta title="Hooks / useStyles" />
4
4
 
@@ -1,15 +1,4 @@
1
1
  declare const buttonAppearanceAccent: {
2
- accent: {
3
- fill: string;
4
- fillHover: string;
5
- labelTextColor: string;
6
- labelTextColorHover: string;
7
- borderColor: string;
8
- iconAfterFillIcon: string;
9
- iconBeforeFillIcon: string;
10
- iconFillIcon: string;
11
- loaderAppearance: string;
12
- };
13
2
  accentPrimary: {
14
3
  fill: string;
15
4
  fillHover: string;
@@ -1,14 +1,4 @@
1
1
  declare const buttonAppearanceDanger: {
2
- danger: {
3
- fill: string;
4
- fillHover: string;
5
- labelTextColor: string;
6
- labelTextColorHover: string;
7
- iconAfterFillIcon: string;
8
- iconBeforeFillIcon: string;
9
- iconFillIcon: string;
10
- loaderAppearance: string;
11
- };
12
2
  dangerPrimary: {
13
3
  fill: string;
14
4
  fillHover: string;
@@ -16,5 +16,22 @@ declare const segmentedAppearanceDefault: {
16
16
  iconFillActive: string;
17
17
  indicatorFill: string;
18
18
  };
19
+ defaultSecondary: {
20
+ fill: string;
21
+ fillActive: string;
22
+ fillActiveHover: string;
23
+ fillHover: string;
24
+ labelTextActiveColor: string;
25
+ labelTextActiveHoverColor: string;
26
+ labelTextColor: string;
27
+ borderColor: string;
28
+ iconAfterFill: string;
29
+ iconAfterFillActive: string;
30
+ iconBeforeFill: string;
31
+ iconBeforeFillActive: string;
32
+ iconFill: string;
33
+ iconFillActive: string;
34
+ indicatorFill: string;
35
+ };
19
36
  };
20
37
  export { segmentedAppearanceDefault };
@@ -19,7 +19,7 @@ declare const segmentedAppearanceSize: {
19
19
  labelTextSize: string;
20
20
  iconSize: string;
21
21
  };
22
- sizeXSS: {
22
+ sizeXXS: {
23
23
  size: string;
24
24
  labelTextSize: string;
25
25
  iconSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.40",
3
+ "version": "1.8.42",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -79,7 +79,7 @@
79
79
  "prepack": "npm run build",
80
80
  "semantic-release": "semantic-release",
81
81
  "typecheck": "tsc --noEmit",
82
- "storybook": "rm -rf node_modules/.cache/ && storybook dev -p 6006 --no-open",
82
+ "storybook": "rm -rf node_modules/.cache/ && storybook dev -p 6006",
83
83
  "build-storybook": "storybook build"
84
84
  },
85
85
  "files": [
@@ -103,7 +103,7 @@
103
103
  "@emotion/is-prop-valid": "^1.3.1",
104
104
  "@itcase/common": "^1.2.28",
105
105
  "@itcase/icons": "^1.2.6",
106
- "@itcase/storybook-config": "^1.1.23",
106
+ "@itcase/storybook-config": "^1.1.34",
107
107
  "@itcase/tokens-am": "^1.1.13",
108
108
  "@itcase/tokens-baikal": "^1.1.9",
109
109
  "@itcase/tokens-palette": "^1.1.11",
@@ -142,7 +142,7 @@
142
142
  "@commitlint/cli": "^19.8.1",
143
143
  "@commitlint/config-conventional": "^19.8.1",
144
144
  "@itcase/config": "^1.0.48",
145
- "@itcase/lint": "^1.1.19",
145
+ "@itcase/lint": "^1.1.21",
146
146
  "@itcase/types": "^1.0.5",
147
147
  "@rollup/plugin-alias": "^5.1.1",
148
148
  "@rollup/plugin-babel": "^6.0.4",
@@ -172,7 +172,6 @@
172
172
  "husky": "^9.1.7",
173
173
  "lint-staged": "^16.1.2",
174
174
  "npm": "^11.4.2",
175
- "postcss": "^8.5.6",
176
175
  "prettier": "^3.6.2",
177
176
  "react-docgen-typescript": "^2.4.0",
178
177
  "rollup": "^4.44.2",
@@ -181,7 +180,7 @@
181
180
  "rollup-plugin-peer-deps-external": "^2.2.4",
182
181
  "rollup-preserve-directives": "^1.1.3",
183
182
  "semantic-release": "^24.2.6",
184
- "storybook": "^8.6.14",
183
+ "storybook": "^9.0.16",
185
184
  "stylelint": "^16.21.1",
186
185
  "typescript": "^5.8.3"
187
186
  }