@kaizen/components 2.0.4 → 2.0.6

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 (99) hide show
  1. package/dist/cjs/src/RichTextEditor/RichTextEditor/RichTextEditor.cjs +9 -24
  2. package/dist/cjs/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss.cjs +1 -1
  3. package/dist/cjs/src/RichTextEditor/RichTextEditor/subcomponents/ToolbarControls/ToolbarControls.cjs +51 -0
  4. package/dist/cjs/src/RichTextEditor/RichTextEditor/utils/controlmap.cjs +44 -10
  5. package/dist/cjs/src/SingleSelect/SingleSelect.cjs +2 -0
  6. package/dist/cjs/src/Tile/InformationTile/InformationTile.cjs +2 -0
  7. package/dist/cjs/src/Tile/MultiActionTile/MultiActionTile.cjs +2 -0
  8. package/dist/cjs/src/Tile/TileGrid/TileGrid.cjs +2 -0
  9. package/dist/esm/src/RichTextEditor/RichTextEditor/RichTextEditor.mjs +10 -25
  10. package/dist/esm/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss.mjs +1 -1
  11. package/dist/esm/src/RichTextEditor/RichTextEditor/subcomponents/ToolbarControls/ToolbarControls.mjs +43 -0
  12. package/dist/esm/src/RichTextEditor/RichTextEditor/utils/controlmap.mjs +44 -10
  13. package/dist/esm/src/SingleSelect/SingleSelect.mjs +2 -0
  14. package/dist/esm/src/Tile/InformationTile/InformationTile.mjs +2 -0
  15. package/dist/esm/src/Tile/MultiActionTile/MultiActionTile.mjs +2 -0
  16. package/dist/esm/src/Tile/TileGrid/TileGrid.mjs +2 -0
  17. package/dist/styles.css +7 -16
  18. package/dist/types/RichTextEditor/RichTextEditor/RichTextEditor.d.ts +2 -2
  19. package/dist/types/RichTextEditor/RichTextEditor/subcomponents/ToolbarControls/ToolbarControls.d.ts +12 -0
  20. package/dist/types/RichTextEditor/RichTextEditor/subcomponents/ToolbarControls/index.d.ts +1 -0
  21. package/dist/types/RichTextEditor/RichTextEditor/utils/controlmap.d.ts +1 -1
  22. package/dist/types/SingleSelect/SingleSelect.d.ts +2 -0
  23. package/dist/types/Tile/InformationTile/InformationTile.d.ts +2 -0
  24. package/dist/types/Tile/MultiActionTile/MultiActionTile.d.ts +2 -0
  25. package/dist/types/Tile/TileGrid/TileGrid.d.ts +2 -0
  26. package/locales/ar.json +37 -1
  27. package/locales/bg.json +37 -1
  28. package/locales/cs.json +37 -1
  29. package/locales/cy.json +37 -1
  30. package/locales/da.json +37 -1
  31. package/locales/de.json +37 -1
  32. package/locales/el.json +37 -1
  33. package/locales/en-GB.json +37 -1
  34. package/locales/en.json +37 -1
  35. package/locales/es-419.json +37 -1
  36. package/locales/es.json +37 -1
  37. package/locales/et.json +37 -1
  38. package/locales/fi.json +37 -1
  39. package/locales/fr-CA.json +37 -1
  40. package/locales/fr.json +37 -1
  41. package/locales/he.json +37 -1
  42. package/locales/hi.json +37 -1
  43. package/locales/ht.json +37 -1
  44. package/locales/hu.json +37 -1
  45. package/locales/id.json +37 -1
  46. package/locales/it.json +37 -1
  47. package/locales/ja.json +37 -1
  48. package/locales/km-KH.json +37 -1
  49. package/locales/ko.json +37 -1
  50. package/locales/lt.json +37 -1
  51. package/locales/lv.json +37 -1
  52. package/locales/mi.json +37 -1
  53. package/locales/ms.json +37 -1
  54. package/locales/nb.json +37 -1
  55. package/locales/nl.json +37 -1
  56. package/locales/pl.json +37 -1
  57. package/locales/pt-BR.json +37 -1
  58. package/locales/pt.json +37 -1
  59. package/locales/ro.json +37 -1
  60. package/locales/ru.json +37 -1
  61. package/locales/si-LK.json +37 -1
  62. package/locales/sk.json +37 -1
  63. package/locales/sr.json +37 -1
  64. package/locales/sv.json +37 -1
  65. package/locales/th.json +37 -1
  66. package/locales/tl.json +37 -1
  67. package/locales/tr.json +37 -1
  68. package/locales/uk.json +37 -1
  69. package/locales/vi.json +37 -1
  70. package/locales/zh-TW.json +37 -1
  71. package/locales/zh.json +37 -1
  72. package/package.json +1 -1
  73. package/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss +8 -20
  74. package/src/RichTextEditor/RichTextEditor/RichTextEditor.spec.tsx +4 -4
  75. package/src/RichTextEditor/RichTextEditor/RichTextEditor.tsx +12 -30
  76. package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/Toolbar.module.scss +0 -1
  77. package/src/RichTextEditor/RichTextEditor/subcomponents/ToolbarControls/ToolbarControls.tsx +62 -0
  78. package/src/RichTextEditor/RichTextEditor/subcomponents/ToolbarControls/index.ts +1 -0
  79. package/src/RichTextEditor/RichTextEditor/utils/controlmap.tsx +46 -9
  80. package/src/RichTextEditor/utils/commands/fixtures/data.json +1 -1
  81. package/src/RichTextEditor/utils/commands/listIsActive.spec.ts +2 -2
  82. package/src/SingleSelect/SingleSelect.tsx +2 -0
  83. package/src/SingleSelect/_docs/SingleSelect--api-specification.mdx +4 -2
  84. package/src/SingleSelect/_docs/SingleSelect--usage-guidelines.mdx +10 -2
  85. package/src/SingleSelect/_docs/SingleSelect.stickersheet.stories.tsx +1 -1
  86. package/src/SingleSelect/_docs/SingleSelect.stories.tsx +1 -1
  87. package/src/Tile/InformationTile/InformationTile.tsx +2 -0
  88. package/src/Tile/InformationTile/_docs/InformationTile.mdx +3 -1
  89. package/src/Tile/InformationTile/_docs/InformationTile.stickersheet.stories.tsx +1 -1
  90. package/src/Tile/InformationTile/_docs/InformationTile.stories.tsx +1 -1
  91. package/src/Tile/MultiActionTile/MultiActionTile.tsx +2 -0
  92. package/src/Tile/MultiActionTile/_docs/MultiActionTile.mdx +3 -1
  93. package/src/Tile/MultiActionTile/_docs/MultiActionTile.stickersheet.stories.tsx +1 -1
  94. package/src/Tile/MultiActionTile/_docs/MultiActionTile.stories.tsx +1 -1
  95. package/src/Tile/TileGrid/TileGrid.tsx +2 -0
  96. package/src/Tile/TileGrid/_docs/TileGrid.mdx +3 -1
  97. package/src/Tile/TileGrid/_docs/TileGrid.stickersheet.stories.tsx +1 -1
  98. package/src/Tile/TileGrid/_docs/TileGrid.stories.tsx +1 -1
  99. package/src/__alpha__/SingleSelect/subcomponents/ListItem/ListItem.module.css +0 -4
@@ -1,4 +1,5 @@
1
1
  import React from 'react'
2
+ import { useIntl } from '@cultureamp/i18n-react-intl'
2
3
  import { Icon } from '~components/Icon'
3
4
  import { type ToolbarControlTypes, type ToolbarItems } from '../../types'
4
5
  import { listIsActive, markIsActive } from '../../utils/commands'
@@ -173,12 +174,15 @@ const filterToolbarControls = (groupedControls: GroupedToolbarControls): Toolbar
173
174
  Object.values(groupedControls).filter((controls) => controls.length > 0)
174
175
 
175
176
  /** Builds an array of object used to map control configuration to rte toolbar buttons */
176
- export const buildControlMap = (
177
+ export const useControlMap = (
177
178
  schema: ProseMirrorModel.Schema,
178
179
  editorState: ProseMirrorState.EditorState,
179
180
  controls?: ToolbarItems[],
180
181
  ): ToolbarControl[][] => {
182
+ const { formatMessage } = useIntl()
183
+
181
184
  if (!controls) return []
185
+
182
186
  const controlGroupIndex: ControlGroupTypes = createControlGroupIndex(controls)
183
187
  const toolbarControls: GroupedToolbarControls = createInitialControls(controlGroupIndex)
184
188
  const listNodes = [schema.nodes.bulletList, schema.nodes.orderedList]
@@ -189,7 +193,11 @@ export const buildControlMap = (
189
193
  toolbarControls[groupIndex].push({
190
194
  isActive: markIsActive(editorState, type),
191
195
  action: createToggleMarkCommand(type),
192
- label: 'Bold',
196
+ label: formatMessage({
197
+ id: 'kz.rte.bold',
198
+ defaultMessage: 'Bold',
199
+ description: 'Label for the "Bold" button in a text editor',
200
+ }),
193
201
  icon: <Icon name="format_bold" isPresentational />,
194
202
  })
195
203
  }
@@ -200,7 +208,11 @@ export const buildControlMap = (
200
208
  toolbarControls[groupIndex].push({
201
209
  isActive: markIsActive(editorState, type),
202
210
  action: createToggleMarkCommand(type),
203
- label: 'Italic',
211
+ label: formatMessage({
212
+ id: 'kz.rte.italic',
213
+ defaultMessage: 'Italic',
214
+ description: 'Label for the "Italic" button in a text editor',
215
+ }),
204
216
  icon: <Icon name="format_italic" isPresentational />,
205
217
  })
206
218
  }
@@ -211,7 +223,11 @@ export const buildControlMap = (
211
223
  toolbarControls[groupIndex].push({
212
224
  isActive: markIsActive(editorState, type),
213
225
  action: createToggleMarkCommand(type),
214
- label: 'Underline',
226
+ label: formatMessage({
227
+ id: 'kz.rte.underline',
228
+ defaultMessage: 'Underline',
229
+ description: 'Label for the "Underline" button in a text editor',
230
+ }),
215
231
  icon: <Icon name="format_underlined" isPresentational />,
216
232
  })
217
233
  }
@@ -222,7 +238,11 @@ export const buildControlMap = (
222
238
  toolbarControls[groupIndex].push({
223
239
  action: createToggleListCommand(type),
224
240
  isActive: listIsActive(editorState, type, listNodes),
225
- label: 'Bullet List',
241
+ label: formatMessage({
242
+ id: 'kz.rte.bullet_list',
243
+ defaultMessage: 'Bullet list',
244
+ description: 'Label for the "Bullet list" button in a text editor',
245
+ }),
226
246
  icon: <Icon name="format_list_bulleted" isPresentational shouldMirrorInRTL />,
227
247
  })
228
248
  }
@@ -233,7 +253,11 @@ export const buildControlMap = (
233
253
  toolbarControls[groupIndex].push({
234
254
  action: createToggleListCommand(type),
235
255
  isActive: listIsActive(editorState, type, listNodes),
236
- label: 'Numbered List',
256
+ label: formatMessage({
257
+ id: 'kz.rte.numbered_list',
258
+ defaultMessage: 'Numbered list',
259
+ description: 'Label for the "Numbered list" button in a text editor',
260
+ }),
237
261
  icon: <Icon name="format_list_numbered" isPresentational shouldMirrorInRTL />,
238
262
  })
239
263
  }
@@ -246,14 +270,22 @@ export const buildControlMap = (
246
270
  action: createLiftListCommand(),
247
271
  disabled: liftListIsDisabled(editorState),
248
272
  isActive: false,
249
- label: 'Decrease indent',
273
+ label: formatMessage({
274
+ id: 'kz.rte.decrease_indent',
275
+ defaultMessage: 'Decrease indent',
276
+ description: 'Label for the "Decrease indent" button in a text editor',
277
+ }),
250
278
  icon: <Icon name="format_indent_decrease" isPresentational shouldMirrorInRTL />,
251
279
  },
252
280
  {
253
281
  action: createIndentListCommand(),
254
282
  disabled: indentListIsDisabled(editorState),
255
283
  isActive: false,
256
- label: 'Increase indent',
284
+ label: formatMessage({
285
+ id: 'kz.rte.increase_indent',
286
+ defaultMessage: 'Increase indent',
287
+ description: 'Label for the "Increase indent" button in a text editor',
288
+ }),
257
289
  icon: <Icon name="format_indent_increase" isPresentational shouldMirrorInRTL />,
258
290
  },
259
291
  )
@@ -266,7 +298,12 @@ export const buildControlMap = (
266
298
  action: createToggleMarkCommand(type),
267
299
  disabled: editorState.selection.empty,
268
300
  isActive: false,
269
- label: 'Link',
301
+ label: formatMessage({
302
+ id: 'kz.rte.link',
303
+ defaultMessage: 'Link',
304
+ description:
305
+ 'Label for the "Link" button in a text editor that allows the creation of hyperlinks in the text',
306
+ }),
270
307
  icon: <Icon name="add_link" isPresentational />,
271
308
  })
272
309
  }
@@ -81,7 +81,7 @@
81
81
  "content": [
82
82
  {
83
83
  "type": "paragraph",
84
- "content": [{ "type": "text", "text": "Bullet List Item Node" }]
84
+ "content": [{ "type": "text", "text": "Bullet list Item Node" }]
85
85
  }
86
86
  ]
87
87
  }
@@ -20,7 +20,7 @@ describe('listIsActive()', () => {
20
20
  })
21
21
  let currentState = testEditorStateWitList
22
22
 
23
- dispatchTransaction(simulateSelectionByText('Bullet List Item Node'))
23
+ dispatchTransaction(simulateSelectionByText('Bullet list Item Node'))
24
24
  dispatchTransaction((editorState: EditorState) => {
25
25
  currentState = editorState
26
26
  return true
@@ -40,7 +40,7 @@ describe('listIsActive()', () => {
40
40
  })
41
41
  let currentState = testEditorStateWitList
42
42
 
43
- dispatchTransaction(simulateSelectionByText('Bullet List Item Node'))
43
+ dispatchTransaction(simulateSelectionByText('Bullet list Item Node'))
44
44
  dispatchTransaction((editorState: EditorState) => {
45
45
  currentState = editorState
46
46
  return true
@@ -81,6 +81,8 @@ export type SingleSelectProps<Option extends SingleSelectOption = SingleSelectOp
81
81
  } & OverrideClassName<Omit<AriaSelectProps<Option>, OmittedAriaSelectProps>>
82
82
 
83
83
  /**
84
+ * @deprecated SingleSelect is deprecated in v3 and will be replaced in v4.
85
+ *
84
86
  * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3081896474/Select Guidance} |
85
87
  * {@link https://cultureamp.design/?path=/docs/components-select--docs Storybook}
86
88
  */
@@ -1,11 +1,13 @@
1
1
  import { Canvas, Meta, Controls, ArgTypes, DocsStory } from '@storybook/blocks'
2
- import { ResourceLinks, KAIOInstallation, LinkTo } from '~storybook/components'
2
+ import { ResourceLinks, KAIOInstallation, LinkTo, ReplacementNotice } from '~storybook/components'
3
3
  import * as SingleSelectStories from './SingleSelect.stories'
4
4
 
5
- <Meta title="Components/SingleSelect/API Specification" />
5
+ <Meta title="Components/SingleSelect (Deprecated)/API Specification" />
6
6
 
7
7
  # SingleSelect
8
8
 
9
+ <ReplacementNotice isFuture={true} />
10
+
9
11
  <ResourceLinks
10
12
  sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/SingleSelect"
11
13
  figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery?node-id=9%3A37837&mode=dev"
@@ -1,11 +1,19 @@
1
1
  import { Canvas, DocsStory, Meta, Controls } from '@storybook/blocks'
2
- import { ResourceLinks, KAIOInstallation, DosAndDonts, DoOrDont } from '~storybook/components'
2
+ import {
3
+ ResourceLinks,
4
+ KAIOInstallation,
5
+ DosAndDonts,
6
+ DoOrDont,
7
+ ReplacementNotice,
8
+ } from '~storybook/components'
3
9
  import * as SingleSelectStories from './SingleSelect.stories'
4
10
 
5
- <Meta title="Components/SingleSelect/Usage Guidelines" />
11
+ <Meta title="Components/SingleSelect (Deprecated)/Usage Guidelines" />
6
12
 
7
13
  # SingleSelect
8
14
 
15
+ <ReplacementNotice isFuture={true} />
16
+
9
17
  <ResourceLinks
10
18
  sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/SingleSelect"
11
19
  figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%F0%9F%96%BC%EF%B8%8F-Component-Gallery?node-id=9%3A37837&mode=dev"
@@ -14,7 +14,7 @@ import {
14
14
  const IS_CHROMATIC = isChromatic()
15
15
 
16
16
  export default {
17
- title: 'Components/SingleSelect',
17
+ title: 'Components/SingleSelect (Deprecated)',
18
18
  parameters: {
19
19
  chromatic: { disable: false },
20
20
  controls: { disable: true },
@@ -10,7 +10,7 @@ import { type SingleSelectOption } from '../types'
10
10
  import { groupedMockItems, mixedMockItemsDisabled, singleMockItems } from './mockData'
11
11
 
12
12
  const meta = {
13
- title: 'Components/SingleSelect',
13
+ title: 'Components/SingleSelect (Deprecated)',
14
14
  component: SingleSelect,
15
15
  argTypes: {
16
16
  items: {
@@ -4,6 +4,8 @@ import { GenericTile, type GenericTileProps } from '../subcomponents/GenericTile
4
4
  export type InformationTileProps = GenericTileProps
5
5
 
6
6
  /**
7
+ * @deprecated InformationTile is deprecated in v3 and will be removed in v4.
8
+ *
7
9
  * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3079077889/Tile#InformationTile%3A Guidance} |
8
10
  * {@link https://cultureamp.design/?path=/docs/components-tiles-informationtile--docs Storybook}
9
11
  */
@@ -1,11 +1,13 @@
1
1
  import { Canvas, Controls, Meta } from '@storybook/blocks'
2
- import { ResourceLinks, KAIOInstallation } from '~storybook/components'
2
+ import { ResourceLinks, KAIOInstallation, RemovalNotice } from '~storybook/components'
3
3
  import * as InformationTileStories from './InformationTile.stories'
4
4
 
5
5
  <Meta of={InformationTileStories} />
6
6
 
7
7
  # InformationTile
8
8
 
9
+ <RemovalNotice />
10
+
9
11
  <ResourceLinks
10
12
  sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Tile/InformationTile"
11
13
  figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%EF%B8%8F%F0%9F%96%BC%EF%B8%8F-Component-Gallery?node-id=9%3A37846&t=QliptwSIGF2YVAnx-1"
@@ -4,7 +4,7 @@ import { StickerSheet, type StickerSheetStory } from '~storybook/components/Stic
4
4
  import { InformationTile, type InformationTileProps } from '../index'
5
5
 
6
6
  export default {
7
- title: 'Components/Tiles/InformationTile',
7
+ title: 'Components/Tiles/InformationTile (Deprecated)',
8
8
  parameters: {
9
9
  chromatic: { disable: false },
10
10
  controls: { disable: true },
@@ -3,7 +3,7 @@ import { type Meta, type StoryObj } from '@storybook/react'
3
3
  import { InformationTile } from '../index'
4
4
 
5
5
  const meta = {
6
- title: 'Components/Tiles/InformationTile',
6
+ title: 'Components/Tiles/InformationTile (Deprecated)',
7
7
  component: InformationTile,
8
8
  args: {
9
9
  title: 'Title',
@@ -20,6 +20,8 @@ const renderActions = (primaryAction: TileAction, secondaryAction?: TileAction):
20
20
  )
21
21
 
22
22
  /**
23
+ * @deprecated MultiActionTile is deprecated in v3 and will be removed in v4.
24
+ *
23
25
  * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3079077889/Tile#MultiActionTile.1 Guidance} |
24
26
  * {@link https://cultureamp.design/?path=/docs/components-tiles-multiactiontile--docs Storybook}
25
27
  */
@@ -1,11 +1,13 @@
1
1
  import { Canvas, Controls, Meta } from '@storybook/blocks'
2
- import { ResourceLinks, KAIOInstallation } from '~storybook/components'
2
+ import { ResourceLinks, KAIOInstallation, RemovalNotice } from '~storybook/components'
3
3
  import * as MultiActionTileStories from './MultiActionTile.stories'
4
4
 
5
5
  <Meta of={MultiActionTileStories} />
6
6
 
7
7
  # MultiActionTile
8
8
 
9
+ <RemovalNotice />
10
+
9
11
  <ResourceLinks
10
12
  sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Tile/MultiActionTile"
11
13
  figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%EF%B8%8F%F0%9F%96%BC%EF%B8%8F-Component-Gallery?node-id=9%3A37846&t=QliptwSIGF2YVAnx-1"
@@ -4,7 +4,7 @@ import { StickerSheet, type StickerSheetStory } from '~storybook/components/Stic
4
4
  import { MultiActionTile, type MultiActionTileProps } from '../index'
5
5
 
6
6
  export default {
7
- title: 'Components/Tiles/MultiActionTile',
7
+ title: 'Components/Tiles/MultiActionTile (Deprecated)',
8
8
  parameters: {
9
9
  chromatic: { disable: false },
10
10
  controls: { disable: true },
@@ -3,7 +3,7 @@ import { type Meta, type StoryObj } from '@storybook/react'
3
3
  import { MultiActionTile } from '../index'
4
4
 
5
5
  const meta = {
6
- title: 'Components/Tiles/MultiActionTile',
6
+ title: 'Components/Tiles/MultiActionTile (Deprecated)',
7
7
  component: MultiActionTile,
8
8
  args: {
9
9
  title: 'Title',
@@ -14,6 +14,8 @@ export interface TileGridProps extends OverrideClassName<HTMLAttributes<HTMLULis
14
14
  }
15
15
 
16
16
  /**
17
+ * @deprecated TileGrid is deprecated in v3 and will be removed in v4.
18
+ *
17
19
  * {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3079077889/Tile#TileGrid Guidance} |
18
20
  * {@link https://cultureamp.design/storybook/?path=/docs/components-tiles-tilegrid--docs Storybook}
19
21
  */
@@ -1,11 +1,13 @@
1
1
  import { Canvas, Controls, Meta } from '@storybook/blocks'
2
- import { ResourceLinks, KAIOInstallation } from '~storybook/components'
2
+ import { ResourceLinks, KAIOInstallation, RemovalNotice } from '~storybook/components'
3
3
  import * as TileGridStories from './TileGrid.stories'
4
4
 
5
5
  <Meta of={TileGridStories} />
6
6
 
7
7
  # TileGrid
8
8
 
9
+ <RemovalNotice />
10
+
9
11
  <ResourceLinks
10
12
  sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/Tile/TileGrid"
11
13
  designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3079077889/Tile#TileGrid"
@@ -5,7 +5,7 @@ import { StickerSheet, type StickerSheetStory } from '~storybook/components/Stic
5
5
  import { TileGrid } from '../index'
6
6
 
7
7
  export default {
8
- title: 'Components/Tiles/TileGrid',
8
+ title: 'Components/Tiles/TileGrid (Deprecated)',
9
9
  parameters: {
10
10
  chromatic: { disable: false },
11
11
  controls: { disable: true },
@@ -5,7 +5,7 @@ import { InformationTile } from '~components/Tile'
5
5
  import { TileGrid } from '../index'
6
6
 
7
7
  const meta = {
8
- title: 'Components/Tiles/TileGrid',
8
+ title: 'Components/Tiles/TileGrid (Deprecated)',
9
9
  component: TileGrid,
10
10
  args: {
11
11
  children: (
@@ -1,8 +1,4 @@
1
1
  @layer kz-components {
2
- ul {
3
- padding-inline-start: 0;
4
- }
5
-
6
2
  .listItem {
7
3
  font-family: var(--typography-paragraph-body-font-family);
8
4
  font-weight: var(--typography-paragraph-body-font-weight);