@dxos/react-ui-pickers 0.8.4-main.a4bbb77 → 0.8.4-main.abd8ff62ef
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/lib/browser/chunk-D3UYVI3X.mjs +64 -0
- package/dist/lib/browser/chunk-D3UYVI3X.mjs.map +7 -0
- package/dist/lib/browser/components/IconPicker/icons.mjs +9 -0
- package/dist/lib/browser/components/IconPicker/icons.mjs.map +7 -0
- package/dist/lib/browser/index.css +2 -2
- package/dist/lib/browser/index.css.map +2 -2
- package/dist/lib/browser/index.mjs +195 -301
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/chunk-N4YXLEKA.mjs +66 -0
- package/dist/lib/node-esm/chunk-N4YXLEKA.mjs.map +7 -0
- package/dist/lib/node-esm/components/IconPicker/icons.mjs +10 -0
- package/dist/lib/node-esm/components/IconPicker/icons.mjs.map +7 -0
- package/dist/lib/node-esm/index.css +2 -2
- package/dist/lib/node-esm/index.css.map +2 -2
- package/dist/lib/node-esm/index.mjs +194 -301
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/components/EmojiPicker/EmojiPicker.d.ts +2 -2
- package/dist/types/src/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/types/src/components/EmojiPicker/EmojiPicker.stories.d.ts +0 -3
- package/dist/types/src/components/EmojiPicker/EmojiPicker.stories.d.ts.map +1 -1
- package/dist/types/src/components/HuePicker/HuePicker.d.ts.map +1 -1
- package/dist/types/src/components/HuePicker/HuePicker.stories.d.ts +1 -4
- package/dist/types/src/components/HuePicker/HuePicker.stories.d.ts.map +1 -1
- package/dist/types/src/components/IconPicker/IconPicker.d.ts +1 -1
- package/dist/types/src/components/IconPicker/IconPicker.d.ts.map +1 -1
- package/dist/types/src/components/IconPicker/IconPicker.stories.d.ts +1 -4
- package/dist/types/src/components/IconPicker/IconPicker.stories.d.ts.map +1 -1
- package/dist/types/src/components/IconPicker/icons.d.ts +7 -0
- package/dist/types/src/components/IconPicker/icons.d.ts.map +1 -0
- package/dist/types/src/components/PickerButton/PickerButton.d.ts +3 -3
- package/dist/types/src/components/PickerButton/PickerButton.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +26 -20
- package/src/components/EmojiPicker/EmojiPicker.stories.tsx +2 -5
- package/src/components/EmojiPicker/EmojiPicker.tsx +27 -22
- package/src/components/EmojiPicker/emoji.css +5 -21
- package/src/components/HuePicker/HuePicker.stories.tsx +2 -5
- package/src/components/HuePicker/HuePicker.tsx +8 -12
- package/src/components/IconPicker/IconPicker.stories.tsx +2 -5
- package/src/components/IconPicker/IconPicker.tsx +7 -68
- package/src/components/IconPicker/icons.ts +66 -0
- package/src/components/PickerButton/PickerButton.tsx +11 -12
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// src/components/IconPicker/icons.ts
|
|
2
|
+
var icons = [
|
|
3
|
+
"ph--house-line--regular",
|
|
4
|
+
"ph--planet--regular",
|
|
5
|
+
"ph--castle-turret--regular",
|
|
6
|
+
"ph--snowflake--regular",
|
|
7
|
+
"ph--virus--regular",
|
|
8
|
+
"ph--graph--regular",
|
|
9
|
+
"ph--air-traffic-control--regular",
|
|
10
|
+
"ph--asterisk--regular",
|
|
11
|
+
"ph--atom--regular",
|
|
12
|
+
"ph--basketball--regular",
|
|
13
|
+
"ph--butterfly--regular",
|
|
14
|
+
"ph--cactus--regular",
|
|
15
|
+
"ph--cake--regular",
|
|
16
|
+
"ph--calendar-dots--regular",
|
|
17
|
+
"ph--campfire--regular",
|
|
18
|
+
"ph--command--regular",
|
|
19
|
+
"ph--confetti--regular",
|
|
20
|
+
"ph--detective--regular",
|
|
21
|
+
"ph--disco-ball--regular",
|
|
22
|
+
"ph--dna--regular",
|
|
23
|
+
"ph--factory--regular",
|
|
24
|
+
"ph--flag-banner-fold--regular",
|
|
25
|
+
"ph--flask--regular",
|
|
26
|
+
"ph--flower-lotus--regular",
|
|
27
|
+
"ph--flying-saucer--regular",
|
|
28
|
+
"ph--game-controller--regular",
|
|
29
|
+
"ph--gavel--regular",
|
|
30
|
+
"ph--gift--regular",
|
|
31
|
+
"ph--guitar--regular",
|
|
32
|
+
"ph--hamburger--regular",
|
|
33
|
+
"ph--handshake--regular",
|
|
34
|
+
"ph--heart--regular",
|
|
35
|
+
"ph--lightbulb--regular",
|
|
36
|
+
"ph--lock--regular",
|
|
37
|
+
"ph--martini--regular",
|
|
38
|
+
"ph--medal-military--regular",
|
|
39
|
+
"ph--moped-front--regular",
|
|
40
|
+
"ph--office-chair--regular",
|
|
41
|
+
"ph--paint-brush-household--regular",
|
|
42
|
+
"ph--peace--regular",
|
|
43
|
+
"ph--person-simple-hike--regular",
|
|
44
|
+
"ph--piggy-bank--regular",
|
|
45
|
+
"ph--potted-plant--regular",
|
|
46
|
+
"ph--radioactive--regular",
|
|
47
|
+
"ph--rocket-launch--regular",
|
|
48
|
+
"ph--shield-star--regular",
|
|
49
|
+
"ph--shopping-cart--regular",
|
|
50
|
+
"ph--stethoscope--regular",
|
|
51
|
+
"ph--student--regular",
|
|
52
|
+
"ph--sun--regular",
|
|
53
|
+
"ph--tote--regular",
|
|
54
|
+
"ph--tree--regular",
|
|
55
|
+
"ph--users-three--regular",
|
|
56
|
+
"ph--yin-yang--regular"
|
|
57
|
+
];
|
|
58
|
+
var iconValues = icons.map((icon) => icon.match(/ph--(.+)--regular/)?.[1] ?? icon);
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
icons,
|
|
62
|
+
iconValues
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=chunk-D3UYVI3X.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/IconPicker/icons.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\n/**\n * https://phosphoricons.com\n * NOTE: Select icons that we are unlikely to use for the UI.\n */\nexport const icons = [\n 'ph--house-line--regular',\n 'ph--planet--regular',\n 'ph--castle-turret--regular',\n 'ph--snowflake--regular',\n 'ph--virus--regular',\n 'ph--graph--regular',\n 'ph--air-traffic-control--regular',\n 'ph--asterisk--regular',\n 'ph--atom--regular',\n 'ph--basketball--regular',\n 'ph--butterfly--regular',\n 'ph--cactus--regular',\n 'ph--cake--regular',\n 'ph--calendar-dots--regular',\n 'ph--campfire--regular',\n 'ph--command--regular',\n 'ph--confetti--regular',\n 'ph--detective--regular',\n 'ph--disco-ball--regular',\n 'ph--dna--regular',\n 'ph--factory--regular',\n 'ph--flag-banner-fold--regular',\n 'ph--flask--regular',\n 'ph--flower-lotus--regular',\n 'ph--flying-saucer--regular',\n 'ph--game-controller--regular',\n 'ph--gavel--regular',\n 'ph--gift--regular',\n 'ph--guitar--regular',\n 'ph--hamburger--regular',\n 'ph--handshake--regular',\n 'ph--heart--regular',\n 'ph--lightbulb--regular',\n 'ph--lock--regular',\n 'ph--martini--regular',\n 'ph--medal-military--regular',\n 'ph--moped-front--regular',\n 'ph--office-chair--regular',\n 'ph--paint-brush-household--regular',\n 'ph--peace--regular',\n 'ph--person-simple-hike--regular',\n 'ph--piggy-bank--regular',\n 'ph--potted-plant--regular',\n 'ph--radioactive--regular',\n 'ph--rocket-launch--regular',\n 'ph--shield-star--regular',\n 'ph--shopping-cart--regular',\n 'ph--stethoscope--regular',\n 'ph--student--regular',\n 'ph--sun--regular',\n 'ph--tote--regular',\n 'ph--tree--regular',\n 'ph--users-three--regular',\n 'ph--yin-yang--regular',\n];\n\nexport const iconValues = icons.map((icon) => icon.match(/ph--(.+)--regular/)?.[1] ?? icon);\n"],
|
|
5
|
+
"mappings": ";AAQO,IAAMA,QAAQ;EACnB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGK,IAAMC,aAAaD,MAAME,IAAI,CAACC,SAASA,KAAKC,MAAM,mBAAA,IAAuB,CAAA,KAAMD,IAAAA;",
|
|
6
|
+
"names": ["icons", "iconValues", "map", "icon", "match"]
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* src/components/EmojiPicker/emoji.css */
|
|
2
2
|
[data-theme=dark] em-emoji-picker {
|
|
3
|
-
--background-rgb: #
|
|
4
|
-
--rgb-background: #
|
|
3
|
+
--background-rgb: #3b3b3f;
|
|
4
|
+
--rgb-background: #3b3b3f;
|
|
5
5
|
--font-family: "Inter Variable", ui-sans-serif;
|
|
6
6
|
}
|
|
7
7
|
/*# sourceMappingURL=index.css.map */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/EmojiPicker/emoji.css"],
|
|
4
|
-
"sourcesContent": ["/**\n * https://github.com/missive/emoji-mart/blob/main/packages/emoji-mart-website/example-custom-styles.html\n */\n[data-theme
|
|
5
|
-
"mappings": ";AAGA,CAAC,iBAAmB;AAElB,oBAAkB;AAClB,oBAAkB;
|
|
4
|
+
"sourcesContent": ["/**\n * https://github.com/missive/emoji-mart/blob/main/packages/emoji-mart-website/example-custom-styles.html\n */\n[data-theme='dark'] em-emoji-picker {\n /* TODO(burdon): Use tailwind tokens. */\n --background-rgb: #3b3b3f;\n --rgb-background: #3b3b3f;\n --font-family: 'Inter Variable', ui-sans-serif;\n}\n"],
|
|
5
|
+
"mappings": ";AAGA,CAAC,iBAAmB;AAElB,oBAAkB;AAClB,oBAAkB;AAClB,iBAAe,gBAAgB,EAAE;AACnC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|