@getflip/swirl-components 0.145.1 → 0.146.0
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/components.json +326 -9
- package/dist/cjs/index-1de6abbd.js +24 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/swirl-components.cjs.js +1 -1
- package/dist/cjs/swirl-icon-dark-mode.cjs.entry.js +23 -0
- package/dist/cjs/swirl-icon-dot.cjs.entry.js +23 -0
- package/dist/cjs/swirl-icon-light-mode.cjs.entry.js +23 -0
- package/dist/cjs/swirl-icon-lock-open.cjs.entry.js +23 -0
- package/dist/cjs/swirl-icon-photo-camera.cjs.entry.js +23 -0
- package/dist/cjs/swirl-icon-work.cjs.entry.js +23 -0
- package/dist/cjs/swirl-switch.cjs.entry.js +1 -56
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/swirl-icon/icons/swirl-icon-dark-mode.js +52 -0
- package/dist/collection/components/swirl-icon/icons/swirl-icon-dot.js +52 -0
- package/dist/collection/components/swirl-icon/icons/swirl-icon-light-mode.js +52 -0
- package/dist/collection/components/swirl-icon/icons/swirl-icon-lock-open.js +52 -0
- package/dist/collection/components/swirl-icon/icons/swirl-icon-photo-camera.js +52 -0
- package/dist/collection/components/swirl-icon/icons/swirl-icon-work.js +52 -0
- package/dist/collection/components/swirl-switch/swirl-switch.js +1 -65
- package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/components/swirl-icon-dark-mode.d.ts +11 -0
- package/dist/components/swirl-icon-dark-mode.js +40 -0
- package/dist/components/swirl-icon-dot.d.ts +11 -0
- package/dist/components/swirl-icon-dot.js +40 -0
- package/dist/components/swirl-icon-light-mode.d.ts +11 -0
- package/dist/components/swirl-icon-light-mode.js +40 -0
- package/dist/components/swirl-icon-lock-open.d.ts +11 -0
- package/dist/components/swirl-icon-lock-open.js +40 -0
- package/dist/components/swirl-icon-photo-camera.d.ts +11 -0
- package/dist/components/swirl-icon-photo-camera.js +40 -0
- package/dist/components/swirl-icon-work.d.ts +11 -0
- package/dist/components/swirl-icon-work.js +40 -0
- package/dist/components/swirl-switch.js +2 -57
- package/dist/esm/index-59244838.js +24 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/swirl-components.js +1 -1
- package/dist/esm/swirl-icon-dark-mode.entry.js +19 -0
- package/dist/esm/swirl-icon-dot.entry.js +19 -0
- package/dist/esm/swirl-icon-light-mode.entry.js +19 -0
- package/dist/esm/swirl-icon-lock-open.entry.js +19 -0
- package/dist/esm/swirl-icon-photo-camera.entry.js +19 -0
- package/dist/esm/swirl-icon-work.entry.js +19 -0
- package/dist/esm/swirl-switch.entry.js +1 -56
- package/dist/swirl-components/p-2814aa5a.entry.js +1 -0
- package/dist/swirl-components/p-650a66f5.entry.js +1 -0
- package/dist/swirl-components/p-6d543a53.entry.js +1 -0
- package/dist/swirl-components/p-b763f76b.entry.js +1 -0
- package/dist/swirl-components/p-c19f45a5.entry.js +1 -0
- package/dist/swirl-components/p-d90d1d8d.entry.js +1 -0
- package/dist/swirl-components/p-e9b5e744.entry.js +1 -0
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-icon/icons/swirl-icon-dark-mode.d.ts +5 -0
- package/dist/types/components/swirl-icon/icons/swirl-icon-dot.d.ts +5 -0
- package/dist/types/components/swirl-icon/icons/swirl-icon-light-mode.d.ts +5 -0
- package/dist/types/components/swirl-icon/icons/swirl-icon-lock-open.d.ts +5 -0
- package/dist/types/components/swirl-icon/icons/swirl-icon-photo-camera.d.ts +5 -0
- package/dist/types/components/swirl-icon/icons/swirl-icon-work.d.ts +5 -0
- package/dist/types/components/swirl-switch/swirl-switch.d.ts +0 -8
- package/dist/types/components.d.ts +90 -0
- package/icons.json +1 -1
- package/package.json +2 -2
- package/vscode-data.json +78 -0
- package/dist/swirl-components/p-adda2fde.entry.js +0 -1
package/icons.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"Add":{"id":"Add","name":"add"},"AddPhoto":{"id":"AddPhoto","name":"add-photo"},"AddReaction":{"id":"AddReaction","name":"add-reaction"},"AdminPanelSettings":{"id":"AdminPanelSettings","name":"admin-panel-settings"},"Ai":{"id":"Ai","name":"ai"},"Apps":{"id":"Apps","name":"apps"},"ArrowBack":{"id":"ArrowBack","name":"arrow-back"},"ArrowDownward":{"id":"ArrowDownward","name":"arrow-downward"},"ArrowForward":{"id":"ArrowForward","name":"arrow-forward"},"ArrowLeft":{"id":"ArrowLeft","name":"arrow-left"},"ArrowRight":{"id":"ArrowRight","name":"arrow-right"},"ArrowRightSmall":{"id":"ArrowRightSmall","name":"arrow-right-small"},"ArrowUpward":{"id":"ArrowUpward","name":"arrow-upward"},"Attachment":{"id":"Attachment","name":"attachment"},"BarChart":{"id":"BarChart","name":"bar-chart"},"Block":{"id":"Block","name":"block"},"Bookmark":{"id":"Bookmark","name":"bookmark"},"Cancel":{"id":"Cancel","name":"cancel"},"ChatBubble":{"id":"ChatBubble","name":"chat-bubble"},"ChatsFilled":{"id":"ChatsFilled","name":"chats-filled"},"ChatsOutlined":{"id":"ChatsOutlined","name":"chats-outlined"},"Check":{"id":"Check","name":"check"},"CheckCircle":{"id":"CheckCircle","name":"check-circle"},"CheckSmall":{"id":"CheckSmall","name":"check-small"},"CheckStrong":{"id":"CheckStrong","name":"check-strong"},"ChevronLeft":{"id":"ChevronLeft","name":"chevron-left"},"ChevronRight":{"id":"ChevronRight","name":"chevron-right"},"Close":{"id":"Close","name":"close"},"CloseSmall":{"id":"CloseSmall","name":"close-small"},"CloudUpload":{"id":"CloudUpload","name":"cloud-upload"},"Column":{"id":"Column","name":"column"},"Comment":{"id":"Comment","name":"comment"},"Copy":{"id":"Copy","name":"copy"},"DateRange":{"id":"DateRange","name":"date-range"},"Delete":{"id":"Delete","name":"delete"},"Description":{"id":"Description","name":"description"},"Discover":{"id":"Discover","name":"discover"},"DockLeft":{"id":"DockLeft","name":"dock-left"},"DoubleArrowLeft":{"id":"DoubleArrowLeft","name":"double-arrow-left"},"DoubleArrowRight":{"id":"DoubleArrowRight","name":"double-arrow-right"},"Download":{"id":"Download","name":"download"},"DragHandle":{"id":"DragHandle","name":"drag-handle"},"Edit":{"id":"Edit","name":"edit"},"EmojiMood":{"id":"EmojiMood","name":"emoji-mood"},"EmojiSatisfied":{"id":"EmojiSatisfied","name":"emoji-satisfied"},"Error":{"id":"Error","name":"error"},"ExpandLess":{"id":"ExpandLess","name":"expand-less"},"ExpandMore":{"id":"ExpandMore","name":"expand-more"},"File":{"id":"File","name":"file"},"FileCopy":{"id":"FileCopy","name":"file-copy"},"Filter":{"id":"Filter","name":"filter"},"Folder":{"id":"Folder","name":"folder"},"FolderShared":{"id":"FolderShared","name":"folder-shared"},"FormatHOne":{"id":"FormatHOne","name":"format-h-one"},"Fullscreen":{"id":"Fullscreen","name":"fullscreen"},"FullscreenExit":{"id":"FullscreenExit","name":"fullscreen-exit"},"Gif":{"id":"Gif","name":"gif"},"GroupAdd":{"id":"GroupAdd","name":"group-add"},"GroupAssign":{"id":"GroupAssign","name":"group-assign"},"Groups":{"id":"Groups","name":"groups"},"GroupsCustom":{"id":"GroupsCustom","name":"groups-custom"},"GroupsFilled":{"id":"GroupsFilled","name":"groups-filled"},"GroupsOutlined":{"id":"GroupsOutlined","name":"groups-outlined"},"Help":{"id":"Help","name":"help"},"Highlight":{"id":"Highlight","name":"highlight"},"Home":{"id":"Home","name":"home"},"Image":{"id":"Image","name":"image"},"ImproveText":{"id":"ImproveText","name":"improve-text"},"Info":{"id":"Info","name":"info"},"InsertBelow":{"id":"InsertBelow","name":"insert-below"},"InsertOnTop":{"id":"InsertOnTop","name":"insert-on-top"},"Inventory":{"id":"Inventory","name":"inventory"},"Like":{"id":"Like","name":"like"},"Link":{"id":"Link","name":"link"},"Lock":{"id":"Lock","name":"lock"},"LockPerson":{"id":"LockPerson","name":"lock-person"},"Logout":{"id":"Logout","name":"logout"},"LongText":{"id":"LongText","name":"long-text"},"Mail":{"id":"Mail","name":"mail"},"ManageAccounts":{"id":"ManageAccounts","name":"manage-accounts"},"MarkChatRead":{"id":"MarkChatRead","name":"mark-chat-read"},"MarkChatUnread":{"id":"MarkChatUnread","name":"mark-chat-unread"},"Mention":{"id":"Mention","name":"mention"},"Menu":{"id":"Menu","name":"menu"},"MenuBook":{"id":"MenuBook","name":"menu-book"},"MenuFilled":{"id":"MenuFilled","name":"menu-filled"},"MenuOutlined":{"id":"MenuOutlined","name":"menu-outlined"},"Message":{"id":"Message","name":"message"},"Mic":{"id":"Mic","name":"mic"},"MoreHorizontal":{"id":"MoreHorizontal","name":"more-horizontal"},"MoreVertikal":{"id":"MoreVertikal","name":"more-vertikal"},"NewsFilled":{"id":"NewsFilled","name":"news-filled"},"NewsOutlined":{"id":"NewsOutlined","name":"news-outlined"},"Notifications":{"id":"Notifications","name":"notifications"},"NotificationsActive":{"id":"NotificationsActive","name":"notifications-active"},"NotificationsOff":{"id":"NotificationsOff","name":"notifications-off"},"OpenInFull":{"id":"OpenInFull","name":"open-in-full"},"OpenInNew":{"id":"OpenInNew","name":"open-in-new"},"Pause":{"id":"Pause","name":"pause"},"PauseCircle":{"id":"PauseCircle","name":"pause-circle"},"PeopleAlt":{"id":"PeopleAlt","name":"people-alt"},"Person":{"id":"Person","name":"person"},"PersonOff":{"id":"PersonOff","name":"person-off"},"Phone":{"id":"Phone","name":"phone"},"PlayArrow":{"id":"PlayArrow","name":"play-arrow"},"Poll":{"id":"Poll","name":"poll"},"Print":{"id":"Print","name":"print"},"Recieved":{"id":"Recieved","name":"recieved"},"Remove":{"id":"Remove","name":"remove"},"Reply":{"id":"Reply","name":"reply"},"Report":{"id":"Report","name":"report"},"Roadmap":{"id":"Roadmap","name":"roadmap"},"Search":{"id":"Search","name":"search"},"SearchStrong":{"id":"SearchStrong","name":"search-strong"},"Secure":{"id":"Secure","name":"secure"},"Send":{"id":"Send","name":"send"},"Settings":{"id":"Settings","name":"settings"},"ShortText":{"id":"ShortText","name":"short-text"},"Simplify":{"id":"Simplify","name":"simplify"},"Spellcheck":{"id":"Spellcheck","name":"spellcheck"},"Stop":{"id":"Stop","name":"stop"},"Sync":{"id":"Sync","name":"sync"},"TasksFilled":{"id":"TasksFilled","name":"tasks-filled"},"TasksOutlined":{"id":"TasksOutlined","name":"tasks-outlined"},"Terminal":{"id":"Terminal","name":"terminal"},"TimeFilled":{"id":"TimeFilled","name":"time-filled"},"TimeOutlined":{"id":"TimeOutlined","name":"time-outlined"},"Today":{"id":"Today","name":"today"},"TodayOutlined":{"id":"TodayOutlined","name":"today-outlined"},"Translate":{"id":"Translate","name":"translate"},"TreeStructure":{"id":"TreeStructure","name":"tree-structure"},"Undo":{"id":"Undo","name":"undo"},"UnlockPerson":{"id":"UnlockPerson","name":"unlock-person"},"UserAdd":{"id":"UserAdd","name":"user-add"},"UserAssign":{"id":"UserAssign","name":"user-assign"},"VideoCamera":{"id":"VideoCamera","name":"video-camera"},"VideoLibrary":{"id":"VideoLibrary","name":"video-library"},"Visibility":{"id":"Visibility","name":"visibility"},"VisibilityOff":{"id":"VisibilityOff","name":"visibility-off"},"Voice":{"id":"Voice","name":"voice"},"Warning":{"id":"Warning","name":"warning"}}
|
|
1
|
+
{"Add":{"id":"Add","name":"add"},"AddPhoto":{"id":"AddPhoto","name":"add-photo"},"AddReaction":{"id":"AddReaction","name":"add-reaction"},"AdminPanelSettings":{"id":"AdminPanelSettings","name":"admin-panel-settings"},"Ai":{"id":"Ai","name":"ai"},"Apps":{"id":"Apps","name":"apps"},"ArrowBack":{"id":"ArrowBack","name":"arrow-back"},"ArrowDownward":{"id":"ArrowDownward","name":"arrow-downward"},"ArrowForward":{"id":"ArrowForward","name":"arrow-forward"},"ArrowLeft":{"id":"ArrowLeft","name":"arrow-left"},"ArrowRight":{"id":"ArrowRight","name":"arrow-right"},"ArrowRightSmall":{"id":"ArrowRightSmall","name":"arrow-right-small"},"ArrowUpward":{"id":"ArrowUpward","name":"arrow-upward"},"Attachment":{"id":"Attachment","name":"attachment"},"BarChart":{"id":"BarChart","name":"bar-chart"},"Block":{"id":"Block","name":"block"},"Bookmark":{"id":"Bookmark","name":"bookmark"},"Cancel":{"id":"Cancel","name":"cancel"},"ChatBubble":{"id":"ChatBubble","name":"chat-bubble"},"ChatsFilled":{"id":"ChatsFilled","name":"chats-filled"},"ChatsOutlined":{"id":"ChatsOutlined","name":"chats-outlined"},"Check":{"id":"Check","name":"check"},"CheckCircle":{"id":"CheckCircle","name":"check-circle"},"CheckSmall":{"id":"CheckSmall","name":"check-small"},"CheckStrong":{"id":"CheckStrong","name":"check-strong"},"ChevronLeft":{"id":"ChevronLeft","name":"chevron-left"},"ChevronRight":{"id":"ChevronRight","name":"chevron-right"},"Close":{"id":"Close","name":"close"},"CloseSmall":{"id":"CloseSmall","name":"close-small"},"CloudUpload":{"id":"CloudUpload","name":"cloud-upload"},"Column":{"id":"Column","name":"column"},"Comment":{"id":"Comment","name":"comment"},"Copy":{"id":"Copy","name":"copy"},"DarkMode":{"id":"DarkMode","name":"dark-mode"},"DateRange":{"id":"DateRange","name":"date-range"},"Delete":{"id":"Delete","name":"delete"},"Description":{"id":"Description","name":"description"},"Discover":{"id":"Discover","name":"discover"},"DockLeft":{"id":"DockLeft","name":"dock-left"},"Dot":{"id":"Dot","name":"dot"},"DoubleArrowLeft":{"id":"DoubleArrowLeft","name":"double-arrow-left"},"DoubleArrowRight":{"id":"DoubleArrowRight","name":"double-arrow-right"},"Download":{"id":"Download","name":"download"},"DragHandle":{"id":"DragHandle","name":"drag-handle"},"Edit":{"id":"Edit","name":"edit"},"EmojiMood":{"id":"EmojiMood","name":"emoji-mood"},"EmojiSatisfied":{"id":"EmojiSatisfied","name":"emoji-satisfied"},"Error":{"id":"Error","name":"error"},"ExpandLess":{"id":"ExpandLess","name":"expand-less"},"ExpandMore":{"id":"ExpandMore","name":"expand-more"},"File":{"id":"File","name":"file"},"FileCopy":{"id":"FileCopy","name":"file-copy"},"Filter":{"id":"Filter","name":"filter"},"Folder":{"id":"Folder","name":"folder"},"FolderShared":{"id":"FolderShared","name":"folder-shared"},"FormatHOne":{"id":"FormatHOne","name":"format-h-one"},"Fullscreen":{"id":"Fullscreen","name":"fullscreen"},"FullscreenExit":{"id":"FullscreenExit","name":"fullscreen-exit"},"Gif":{"id":"Gif","name":"gif"},"GroupAdd":{"id":"GroupAdd","name":"group-add"},"GroupAssign":{"id":"GroupAssign","name":"group-assign"},"Groups":{"id":"Groups","name":"groups"},"GroupsCustom":{"id":"GroupsCustom","name":"groups-custom"},"GroupsFilled":{"id":"GroupsFilled","name":"groups-filled"},"GroupsOutlined":{"id":"GroupsOutlined","name":"groups-outlined"},"Help":{"id":"Help","name":"help"},"Highlight":{"id":"Highlight","name":"highlight"},"Home":{"id":"Home","name":"home"},"Image":{"id":"Image","name":"image"},"ImproveText":{"id":"ImproveText","name":"improve-text"},"Info":{"id":"Info","name":"info"},"InsertBelow":{"id":"InsertBelow","name":"insert-below"},"InsertOnTop":{"id":"InsertOnTop","name":"insert-on-top"},"Inventory":{"id":"Inventory","name":"inventory"},"LightMode":{"id":"LightMode","name":"light-mode"},"Like":{"id":"Like","name":"like"},"Link":{"id":"Link","name":"link"},"Lock":{"id":"Lock","name":"lock"},"LockOpen":{"id":"LockOpen","name":"lock-open"},"LockPerson":{"id":"LockPerson","name":"lock-person"},"Logout":{"id":"Logout","name":"logout"},"LongText":{"id":"LongText","name":"long-text"},"Mail":{"id":"Mail","name":"mail"},"ManageAccounts":{"id":"ManageAccounts","name":"manage-accounts"},"MarkChatRead":{"id":"MarkChatRead","name":"mark-chat-read"},"MarkChatUnread":{"id":"MarkChatUnread","name":"mark-chat-unread"},"Mention":{"id":"Mention","name":"mention"},"Menu":{"id":"Menu","name":"menu"},"MenuBook":{"id":"MenuBook","name":"menu-book"},"MenuFilled":{"id":"MenuFilled","name":"menu-filled"},"MenuOutlined":{"id":"MenuOutlined","name":"menu-outlined"},"Message":{"id":"Message","name":"message"},"Mic":{"id":"Mic","name":"mic"},"MoreHorizontal":{"id":"MoreHorizontal","name":"more-horizontal"},"MoreVertikal":{"id":"MoreVertikal","name":"more-vertikal"},"NewsFilled":{"id":"NewsFilled","name":"news-filled"},"NewsOutlined":{"id":"NewsOutlined","name":"news-outlined"},"Notifications":{"id":"Notifications","name":"notifications"},"NotificationsActive":{"id":"NotificationsActive","name":"notifications-active"},"NotificationsOff":{"id":"NotificationsOff","name":"notifications-off"},"OpenInFull":{"id":"OpenInFull","name":"open-in-full"},"OpenInNew":{"id":"OpenInNew","name":"open-in-new"},"Pause":{"id":"Pause","name":"pause"},"PauseCircle":{"id":"PauseCircle","name":"pause-circle"},"PeopleAlt":{"id":"PeopleAlt","name":"people-alt"},"Person":{"id":"Person","name":"person"},"PersonOff":{"id":"PersonOff","name":"person-off"},"Phone":{"id":"Phone","name":"phone"},"PhotoCamera":{"id":"PhotoCamera","name":"photo-camera"},"PlayArrow":{"id":"PlayArrow","name":"play-arrow"},"Poll":{"id":"Poll","name":"poll"},"Print":{"id":"Print","name":"print"},"Recieved":{"id":"Recieved","name":"recieved"},"Remove":{"id":"Remove","name":"remove"},"Reply":{"id":"Reply","name":"reply"},"Report":{"id":"Report","name":"report"},"Roadmap":{"id":"Roadmap","name":"roadmap"},"Search":{"id":"Search","name":"search"},"SearchStrong":{"id":"SearchStrong","name":"search-strong"},"Secure":{"id":"Secure","name":"secure"},"Send":{"id":"Send","name":"send"},"Settings":{"id":"Settings","name":"settings"},"ShortText":{"id":"ShortText","name":"short-text"},"Simplify":{"id":"Simplify","name":"simplify"},"Spellcheck":{"id":"Spellcheck","name":"spellcheck"},"Stop":{"id":"Stop","name":"stop"},"Sync":{"id":"Sync","name":"sync"},"TasksFilled":{"id":"TasksFilled","name":"tasks-filled"},"TasksOutlined":{"id":"TasksOutlined","name":"tasks-outlined"},"Terminal":{"id":"Terminal","name":"terminal"},"TimeFilled":{"id":"TimeFilled","name":"time-filled"},"TimeOutlined":{"id":"TimeOutlined","name":"time-outlined"},"Today":{"id":"Today","name":"today"},"TodayOutlined":{"id":"TodayOutlined","name":"today-outlined"},"Translate":{"id":"Translate","name":"translate"},"TreeStructure":{"id":"TreeStructure","name":"tree-structure"},"Undo":{"id":"Undo","name":"undo"},"UnlockPerson":{"id":"UnlockPerson","name":"unlock-person"},"UserAdd":{"id":"UserAdd","name":"user-add"},"UserAssign":{"id":"UserAssign","name":"user-assign"},"VideoCamera":{"id":"VideoCamera","name":"video-camera"},"VideoLibrary":{"id":"VideoLibrary","name":"video-library"},"Visibility":{"id":"Visibility","name":"visibility"},"VisibilityOff":{"id":"VisibilityOff","name":"visibility-off"},"Voice":{"id":"Voice","name":"voice"},"Warning":{"id":"Warning","name":"warning"},"Work":{"id":"Work","name":"work"}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.146.0",
|
|
4
4
|
"description": "Swirl Design System Web Component Library",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@floating-ui/dom": "1.0.1",
|
|
45
|
-
"@getflip/swirl-icons": "^0.
|
|
45
|
+
"@getflip/swirl-icons": "^0.27.0",
|
|
46
46
|
"@getflip/swirl-tokens": "^2.5.1",
|
|
47
47
|
"@stencil/core": "^3.3.1",
|
|
48
48
|
"a11y-dialog": "^7.5.2",
|
package/vscode-data.json
CHANGED
|
@@ -2995,6 +2995,19 @@
|
|
|
2995
2995
|
}
|
|
2996
2996
|
]
|
|
2997
2997
|
},
|
|
2998
|
+
{
|
|
2999
|
+
"name": "swirl-icon-dark-mode",
|
|
3000
|
+
"description": {
|
|
3001
|
+
"kind": "markdown",
|
|
3002
|
+
"value": ""
|
|
3003
|
+
},
|
|
3004
|
+
"attributes": [
|
|
3005
|
+
{
|
|
3006
|
+
"name": "size",
|
|
3007
|
+
"description": ""
|
|
3008
|
+
}
|
|
3009
|
+
]
|
|
3010
|
+
},
|
|
2998
3011
|
{
|
|
2999
3012
|
"name": "swirl-icon-date-range",
|
|
3000
3013
|
"description": {
|
|
@@ -3060,6 +3073,19 @@
|
|
|
3060
3073
|
}
|
|
3061
3074
|
]
|
|
3062
3075
|
},
|
|
3076
|
+
{
|
|
3077
|
+
"name": "swirl-icon-dot",
|
|
3078
|
+
"description": {
|
|
3079
|
+
"kind": "markdown",
|
|
3080
|
+
"value": ""
|
|
3081
|
+
},
|
|
3082
|
+
"attributes": [
|
|
3083
|
+
{
|
|
3084
|
+
"name": "size",
|
|
3085
|
+
"description": ""
|
|
3086
|
+
}
|
|
3087
|
+
]
|
|
3088
|
+
},
|
|
3063
3089
|
{
|
|
3064
3090
|
"name": "swirl-icon-double-arrow-left",
|
|
3065
3091
|
"description": {
|
|
@@ -3502,6 +3528,19 @@
|
|
|
3502
3528
|
}
|
|
3503
3529
|
]
|
|
3504
3530
|
},
|
|
3531
|
+
{
|
|
3532
|
+
"name": "swirl-icon-light-mode",
|
|
3533
|
+
"description": {
|
|
3534
|
+
"kind": "markdown",
|
|
3535
|
+
"value": ""
|
|
3536
|
+
},
|
|
3537
|
+
"attributes": [
|
|
3538
|
+
{
|
|
3539
|
+
"name": "size",
|
|
3540
|
+
"description": ""
|
|
3541
|
+
}
|
|
3542
|
+
]
|
|
3543
|
+
},
|
|
3505
3544
|
{
|
|
3506
3545
|
"name": "swirl-icon-like",
|
|
3507
3546
|
"description": {
|
|
@@ -3541,6 +3580,19 @@
|
|
|
3541
3580
|
}
|
|
3542
3581
|
]
|
|
3543
3582
|
},
|
|
3583
|
+
{
|
|
3584
|
+
"name": "swirl-icon-lock-open",
|
|
3585
|
+
"description": {
|
|
3586
|
+
"kind": "markdown",
|
|
3587
|
+
"value": ""
|
|
3588
|
+
},
|
|
3589
|
+
"attributes": [
|
|
3590
|
+
{
|
|
3591
|
+
"name": "size",
|
|
3592
|
+
"description": ""
|
|
3593
|
+
}
|
|
3594
|
+
]
|
|
3595
|
+
},
|
|
3544
3596
|
{
|
|
3545
3597
|
"name": "swirl-icon-lock-person",
|
|
3546
3598
|
"description": {
|
|
@@ -3918,6 +3970,19 @@
|
|
|
3918
3970
|
}
|
|
3919
3971
|
]
|
|
3920
3972
|
},
|
|
3973
|
+
{
|
|
3974
|
+
"name": "swirl-icon-photo-camera",
|
|
3975
|
+
"description": {
|
|
3976
|
+
"kind": "markdown",
|
|
3977
|
+
"value": ""
|
|
3978
|
+
},
|
|
3979
|
+
"attributes": [
|
|
3980
|
+
{
|
|
3981
|
+
"name": "size",
|
|
3982
|
+
"description": ""
|
|
3983
|
+
}
|
|
3984
|
+
]
|
|
3985
|
+
},
|
|
3921
3986
|
{
|
|
3922
3987
|
"name": "swirl-icon-play-arrow",
|
|
3923
3988
|
"description": {
|
|
@@ -4399,6 +4464,19 @@
|
|
|
4399
4464
|
}
|
|
4400
4465
|
]
|
|
4401
4466
|
},
|
|
4467
|
+
{
|
|
4468
|
+
"name": "swirl-icon-work",
|
|
4469
|
+
"description": {
|
|
4470
|
+
"kind": "markdown",
|
|
4471
|
+
"value": ""
|
|
4472
|
+
},
|
|
4473
|
+
"attributes": [
|
|
4474
|
+
{
|
|
4475
|
+
"name": "size",
|
|
4476
|
+
"description": ""
|
|
4477
|
+
}
|
|
4478
|
+
]
|
|
4479
|
+
},
|
|
4402
4480
|
{
|
|
4403
4481
|
"name": "swirl-image-grid",
|
|
4404
4482
|
"description": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as s,h as t,H as h,g as r}from"./p-e5528e8a.js";import{c as e}from"./p-b7898321.js";const c=class{constructor(t){i(this,t),this.valueChange=s(this,"valueChange",7),this.dragging=!1,this.recentlyDragged=!1,this.onChange=()=>{this.dragging||(this.recentlyDragged?this.recentlyDragged=!1:(this.checked=!this.checked,this.valueChange.emit(this.checked)))},this.onStartDrag=()=>{this.disabled||(this.dragging=!0,this.thumb.style.transition="none")},this.onEndDrag=()=>{if(!this.disabled){if(this.recentlyDragged){const i=this.control.getBoundingClientRect(),s=this.thumb.getBoundingClientRect(),t=this.thumb.offsetLeft+s.width/2>i.width/2;this.checked!==t&&(this.checked=t,this.valueChange.emit(t))}this.thumb.style.left="",this.thumb.style.transition="",this.dragging=!1,setTimeout((()=>{this.recentlyDragged=!1}))}},this.onDrag=i=>{if(!this.dragging)return;this.recentlyDragged=!0;const s=this.control.getBoundingClientRect(),t=this.thumb.getBoundingClientRect();let h=Math.round(i.offsetX-t.width/2);h<0&&(h=0),h>Math.round(s.width-t.width)&&(h=Math.round(s.width-t.width)),this.thumb.style.left=`${h}px`},this.checked=!1,this.disabled=!1,this.hideLabel=void 0,this.inputId=void 0,this.inputName=void 0,this.label=void 0,this.value=void 0}onWindowPointerUp(){this.onEndDrag()}render(){const i=this.checked,s=i?"true":"false",r=e("switch",{"switch--off":!this.checked,"switch--on":i,"switch--disabled":this.disabled});return t(h,null,t("label",{class:r,htmlFor:this.inputId},t("span",{class:"switch__control",onPointerDown:this.onStartDrag,onPointerMove:this.onDrag,onPointerUp:this.onEndDrag,ref:i=>this.control=i},t("swirl-visually-hidden",null,t("input",{"aria-checked":s,checked:i,class:"switch__input",disabled:this.disabled,id:this.inputId,name:this.inputName,onChange:this.onChange,role:"switch",type:"checkbox",value:this.value})),t("span",{"aria-hidden":"true",class:"switch__thumb",ref:i=>this.thumb=i})),this.label&&!this.hideLabel&&t("span",{class:"switch__label"},this.label),this.label&&this.hideLabel&&t("swirl-visually-hidden",null,this.label)))}get el(){return r(this)}};c.style=".sc-swirl-switch-h{display:inline-flex}.sc-swirl-switch-h *.sc-swirl-switch{box-sizing:border-box}.switch.sc-swirl-switch{display:inline-flex;align-items:center;touch-action:none}.switch.sc-swirl-switch:focus-within .switch__control.sc-swirl-switch{box-shadow:0 0 0 0.0625rem var(--s-background-default),\n 0 0 0 0.1875rem var(--s-focus-default)}.switch--on.sc-swirl-switch .switch__thumb.sc-swirl-switch{left:calc(100% - 1.25rem - var(--s-space-2))}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.switch--on.sc-swirl-switch .switch__thumb.sc-swirl-switch{left:calc(100% - 0.875rem - var(--s-space-2))}}.switch--on.sc-swirl-switch .switch__control.sc-swirl-switch{background-color:var(--s-interactive-primary-default)}.switch--disabled.sc-swirl-switch .switch__control.sc-swirl-switch{background-color:var(--s-interactive-primary-disabled);cursor:default}.switch--disabled.sc-swirl-switch .switch__thumb.sc-swirl-switch{background-color:var(--s-interactive-neutral-default)}.switch--disabled.sc-swirl-switch .switch__label.sc-swirl-switch{color:var(--s-text-disabled)}.switch__control.sc-swirl-switch{position:relative;width:2.75rem;height:1.5rem;flex-shrink:0;border-radius:calc(1.5rem / 2);background-color:var(--s-interactive-primary-disabled);cursor:pointer;transition:background-color 0.2s}@media (prefers-reduced-motion){.switch__control.sc-swirl-switch{transition:none}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.switch__control.sc-swirl-switch{width:1.875rem;height:1.125rem;border-radius:calc(1.125rem / 2)}}.switch__thumb.sc-swirl-switch{position:absolute;top:var(--s-space-2);left:var(--s-space-2);width:1.25rem;height:1.25rem;border-radius:50%;background-color:var(--s-surface-default);transition:left 0.2s;pointer-events:none}@media (prefers-reduced-motion){.switch__thumb.sc-swirl-switch{transition:none}}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.switch__thumb.sc-swirl-switch{width:0.875rem;height:0.875rem}}.switch__label.sc-swirl-switch{position:relative;z-index:1;margin-left:var(--s-space-12);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base)}";export{c as swirl_switch}
|