@kaizen/tailwind 1.3.13 → 1.3.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/tailwind",
3
- "version": "1.3.13",
3
+ "version": "1.3.14",
4
4
  "description": "Kaizen Tailwind presets",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,14 +22,14 @@
22
22
  "private": false,
23
23
  "license": "MIT",
24
24
  "dependencies": {
25
- "@kaizen/design-tokens": "10.8.7"
25
+ "@kaizen/design-tokens": "10.8.8"
26
26
  },
27
27
  "devDependencies": {
28
28
  "classnames": "^2.5.1",
29
- "rollup": "^4.30.1",
29
+ "rollup": "^4.35.0",
30
30
  "tailwindcss": "^3.4.17",
31
31
  "tslib": "^2.8.1",
32
- "@kaizen/package-bundler": "2.0.4"
32
+ "@kaizen/package-bundler": "2.0.5"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "tailwindcss": ">=3.4.7"
@@ -7,10 +7,6 @@ import AnatomyDiagram from '../assets/tw-anatomy.png'
7
7
 
8
8
  <br />
9
9
 
10
- ## Caveat before use
11
-
12
- This is an early release of the Kaizen Tailwind Preset - the API may change and evolve as we receive feedback from our teams. We will endeavour to assist where possible if classes or utilities are updated in the future.
13
-
14
10
  ## What our package does
15
11
 
16
12
  The `@kaizen/tailwind` package is essentially a custom Tailwind preset. For more information about Tailwind presets, see their docs [here](https://tailwindcss.com/docs/presets). This package does not change how Tailwind works; it only defines the suffixes that can be applied when constructing utility classes.
@@ -5,7 +5,7 @@ import { utilityDescription } from '~tailwind/_docs/utils/utilityDescription'
5
5
  import { kaizenTailwindTheme } from '~tailwind/tailwind-presets'
6
6
 
7
7
  const prefix = 'max-w-'
8
- const classEntries = Object.entries(kaizenTailwindTheme.extend.maxWidth || []).map(
8
+ const classEntries = Object.entries(kaizenTailwindTheme.extend.maxWidth ?? []).map(
9
9
  ([suffix, cssPropertyArr]) => ({
10
10
  utilityClassName: `${prefix}${suffix}`,
11
11
  cssProperty: cssPropertyArr as string,
@@ -1,5 +1,5 @@
1
1
  import React, { useState } from 'react'
2
- import { Icon } from '~components/__rc__'
2
+ import { Icon } from '~components/__next__'
3
3
 
4
4
  type Props = {
5
5
  text: string