@coopdigital/react 0.19.0 → 0.19.2
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/components/Card/Card.d.ts +3 -2
- package/dist/components/Card/Card.js +4 -2
- package/dist/components/Expandable/Expandable.d.ts +2 -1
- package/dist/components/Expandable/Expandable.js +5 -3
- package/dist/components/Icon/AddIcon.js +12 -0
- package/dist/components/Icon/ArrowDownIcon.js +12 -0
- package/dist/components/Icon/ArrowLeftIcon.js +12 -0
- package/dist/components/Icon/ArrowRightIcon.js +12 -0
- package/dist/components/Icon/ArrowUpIcon.js +12 -0
- package/dist/components/Icon/AvatarAltIcon.js +12 -0
- package/dist/components/Icon/AvatarIcon.js +12 -0
- package/dist/components/Icon/BasketIcon.js +12 -0
- package/dist/components/Icon/CalendarIcon.js +12 -0
- package/dist/components/Icon/ChevronDownIcon.js +12 -0
- package/dist/components/Icon/ChevronLeftIcon.js +12 -0
- package/dist/components/Icon/ChevronRightIcon.js +12 -0
- package/dist/components/Icon/ChevronUpIcon.js +12 -0
- package/dist/components/Icon/ClockIcon.js +12 -0
- package/dist/components/Icon/CloseAltIcon.js +12 -0
- package/dist/components/Icon/CloseIcon.js +12 -0
- package/dist/components/Icon/CoopCardIcon.js +12 -0
- package/dist/components/Icon/CoopIcon.js +12 -0
- package/dist/components/Icon/CoopLocationIcon.js +12 -0
- package/dist/components/Icon/DownloadIcon.js +12 -0
- package/dist/components/Icon/HomeIcon.js +12 -0
- package/dist/components/Icon/InformationIcon.js +12 -0
- package/dist/components/Icon/LocationIcon.js +12 -0
- package/dist/components/Icon/MailIcon.js +12 -0
- package/dist/components/Icon/MenuIcon.js +12 -0
- package/dist/components/Icon/MessageIcon.js +12 -0
- package/dist/components/Icon/MinusIcon.js +12 -0
- package/dist/components/Icon/OpenNewIcon.js +12 -0
- package/dist/components/Icon/PencilIcon.js +12 -0
- package/dist/components/Icon/PhoneIcon.js +12 -0
- package/dist/components/Icon/QuestionIcon.js +12 -0
- package/dist/components/Icon/ScooterIcon.js +12 -0
- package/dist/components/Icon/SettingsIcon.js +12 -0
- package/dist/components/Icon/TickAltIcon.js +12 -0
- package/dist/components/Icon/TickIcon.js +12 -0
- package/dist/components/Icon/VanIcon.js +12 -0
- package/dist/components/Icon/WarningIcon.js +12 -0
- package/dist/components/Icon/WriteIcon.js +12 -0
- package/dist/components/Icon/index.js +40 -0
- package/dist/components/Pill/Pill.d.ts +5 -4
- package/dist/components/Pill/Pill.js +7 -3
- package/dist/components/Squircle/Squircle.d.ts +17 -0
- package/dist/components/Squircle/Squircle.js +14 -0
- package/dist/components/Squircle/index.d.ts +4 -0
- package/dist/components/Tag/Tag.d.ts +4 -3
- package/dist/components/Tag/Tag.js +4 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/node_modules/clsx/dist/clsx.js +3 -0
- package/dist/types/colors.d.ts +11 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +3 -0
- package/package.json +10 -3
- package/src/components/Card/Card.tsx +16 -16
- package/src/components/Expandable/Expandable.tsx +9 -17
- package/src/components/Pill/Pill.tsx +20 -10
- package/src/components/Squircle/Squircle.tsx +41 -0
- package/src/components/Squircle/index.ts +5 -0
- package/src/components/Tag/Tag.tsx +9 -16
- package/src/index.ts +1 -0
- package/src/types/colors.ts +41 -0
- package/src/types/react.d.ts +8 -0
- package/src/utils/index.ts +2 -0
- /package/src/components/Icon/{index.tsx → index.ts} +0 -0
package/src/index.ts
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export type Darks =
|
|
2
|
+
| "dark-blue"
|
|
3
|
+
| "dark-yellow"
|
|
4
|
+
| "dark-green"
|
|
5
|
+
| "dark-lilac"
|
|
6
|
+
| "dark-orange"
|
|
7
|
+
| "dark-pink"
|
|
8
|
+
| "dark-purple"
|
|
9
|
+
| "dark-red"
|
|
10
|
+
|
|
11
|
+
export type Tints =
|
|
12
|
+
| "tint-blue"
|
|
13
|
+
| "tint-brown"
|
|
14
|
+
| "tint-yellow"
|
|
15
|
+
| "tint-green"
|
|
16
|
+
| "tint-grey"
|
|
17
|
+
| "tint-lilac"
|
|
18
|
+
| "tint-orange"
|
|
19
|
+
| "tint-pink"
|
|
20
|
+
| "tint-purple"
|
|
21
|
+
| "tint-red"
|
|
22
|
+
|
|
23
|
+
export type Lights =
|
|
24
|
+
| "light-blue"
|
|
25
|
+
| "light-yellow"
|
|
26
|
+
| "light-green"
|
|
27
|
+
| "light-lilac"
|
|
28
|
+
| "light-orange"
|
|
29
|
+
| "light-pink"
|
|
30
|
+
| "light-purple"
|
|
31
|
+
| "light-red"
|
|
32
|
+
|
|
33
|
+
export type Greys = "dark-grey" | "mid-dark-grey" | "mid-grey" | "mid-light-grey" | "light-grey"
|
|
34
|
+
|
|
35
|
+
export type White = "white"
|
|
36
|
+
export type Black = "black"
|
|
37
|
+
export type None = "none"
|
|
38
|
+
export type CoopBlue = "coop-blue"
|
|
39
|
+
export type OffersRed = "offers-red"
|
|
40
|
+
export type Green = "green"
|
|
41
|
+
export type Blue = "blue"
|
|
File without changes
|