@dataworkz/crystal 0.1.0-beta.2 → 0.1.0-beta.4
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/CHANGELOG.md +38 -0
- package/fesm2022/dataworkz-crystal-icons.mjs +1 -1
- package/fesm2022/dataworkz-crystal-icons.mjs.map +1 -1
- package/fesm2022/dataworkz-crystal-primeng.mjs +2 -2
- package/fesm2022/dataworkz-crystal-primeng.mjs.map +1 -1
- package/fesm2022/dataworkz-crystal.mjs +966 -32
- package/fesm2022/dataworkz-crystal.mjs.map +1 -1
- package/icons/index.d.ts +4 -2
- package/index.d.ts +429 -19
- package/package.json +4 -7
- package/primeng/index.d.ts +2 -2
- package/styles/components/content.css +5 -0
- package/styles/components/form.css +33 -2
- package/styles/crystal-no-fonts.css +2 -0
package/icons/index.d.ts
CHANGED
|
@@ -171,10 +171,12 @@ declare const DW_LOGO_URIS: {
|
|
|
171
171
|
readonly "tools/snowflake": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cg fill='%2329b5e8' clip-path='url(%23a)'%3E%3Cpath d='m13.75 12.194-3.386-1.951a1 1 0 0 0-1.359.364 1 1 0 0 0-.128.592v3.813a.99.99 0 0 0 1.982 0V12.82l1.896 1.093a.996.996 0 0 0 1.36-.364.99.99 0 0 0-.365-1.354M5.33 8.013a.97.97 0 0 0-.486-.857l-3.386-1.95a.973.973 0 0 0-1.328.355.97.97 0 0 0 .356 1.325l1.952 1.123L.486 9.133a.96.96 0 0 0-.452.588.96.96 0 0 0 .096.736.975.975 0 0 0 1.328.355l3.386-1.95a.97.97 0 0 0 .486-.85M2.226 3.825l3.386 1.95a1 1 0 0 0 1.194-.15.98.98 0 0 0 .32-.728V.99a.99.99 0 0 0-1.982 0v2.225L3.22 2.106a.996.996 0 0 0-1.36.363.99.99 0 0 0 .365 1.356M9.84 8.171a.4.4 0 0 1-.097.233L8.401 9.743a.38.38 0 0 1-.233.096h-.342a.38.38 0 0 1-.233-.096L6.249 8.404a.4.4 0 0 1-.096-.233v-.34c0-.077.043-.18.096-.233l1.344-1.34a.38.38 0 0 1 .233-.097h.342a.38.38 0 0 1 .233.096l1.342 1.34a.38.38 0 0 1 .097.233zm-1.198-.164v-.014a.3.3 0 0 0-.07-.171l-.397-.394a.27.27 0 0 0-.172-.072H7.99a.28.28 0 0 0-.172.072l-.395.394a.28.28 0 0 0-.07.17v.015c0 .056.032.133.07.171l.395.396c.04.039.117.07.172.07h.014a.28.28 0 0 0 .172-.07l.396-.396a.28.28 0 0 0 .07-.17m1.722-2.234 3.386-1.95a.99.99 0 0 0 .365-1.355.996.996 0 0 0-1.36-.363L10.86 3.2V.99a.99.99 0 0 0-1.982 0v3.83a.992.992 0 0 0 1.487.955m-4.074 4.353a1 1 0 0 0-.679.115l-3.386 1.951a.99.99 0 0 0-.364 1.354.995.995 0 0 0 1.359.364l1.923-1.107v2.207a.99.99 0 0 0 1.982 0v-3.908a.99.99 0 0 0-.835-.976m9.575-4.578a.995.995 0 0 0-1.359-.364l-3.386 1.95a.99.99 0 0 0-.497.877.99.99 0 0 0 .497.868l3.386 1.952a1 1 0 0 0 1.36-.364.99.99 0 0 0-.365-1.356l-1.918-1.104 1.918-1.105a.99.99 0 0 0 .364-1.354'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h16v16H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E";
|
|
172
172
|
readonly "tools/workflow": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%231f2a37' d='M13.333 0H8.667v2.388c.344-.143.533-.433 1.192-.433 1.137 0 2.062.925 2.062 2.062A2.064 2.064 0 0 1 9.86 6.079c-.659 0-.847-.29-1.192-.434v1.688h2.254c.26 0 .469.408.469.667 0 .509-.175.858-.315 1.14-.12.24-.216.431-.216.719 0 .62.504 1.125 1.124 1.125s1.125-.505 1.125-1.125c0-.288-.095-.478-.216-.72-.14-.28-.315-.63-.315-1.139 0-.259.21-.667.469-.667H16V2.667C16 1.333 14.667 0 13.333 0'/%3E%3Cpath fill='%239ca3af' d='M1.954 6.141c0-1.137.926-2.062 2.063-2.062s2.062.925 2.062 2.062c0 .659-.29.847-.434 1.192h1.688V5.08c0-.259.408-.469.667-.469.509 0 .858.175 1.14.315.24.12.431.216.719.216.62 0 1.125-.504 1.125-1.124s-.505-1.125-1.125-1.125c-.288 0-.478.095-.72.216-.28.14-.63.315-1.139.315-.259 0-.667-.21-.667-.469V0H2.667C1.333 0 0 1.333 0 2.667v4.666h2.388c-.143-.344-.434-.533-.434-1.192m12.092 3.718a2.065 2.065 0 0 1-2.063 2.062A2.064 2.064 0 0 1 9.921 9.86c0-.659.29-.847.434-1.192H8.667v2.254c0 .26-.408.469-.667.469-.51 0-.858-.175-1.14-.315-.24-.12-.431-.216-.719-.216-.62 0-1.125.504-1.125 1.124s.505 1.125 1.125 1.125c.288 0 .478-.095.72-.216.28-.14.63-.315 1.139-.315.259 0 .667.21.667.469V16h4.666C14.667 16 16 14.667 16 13.333V8.667h-2.388c.143.344.434.533.434 1.192'/%3E%3Cpath fill='%231f2a37' d='M6.141 14.046a2.064 2.064 0 0 1-2.062-2.063c0-1.137.925-2.062 2.062-2.062.659 0 .847.29 1.192.434V8.667H5.08c-.259 0-.469-.408-.469-.667 0-.51.175-.858.315-1.14.12-.24.216-.431.216-.719 0-.62-.504-1.125-1.124-1.125s-1.125.505-1.125 1.125c0 .288.095.478.216.72.14.28.315.63.315 1.139 0 .259-.21.667-.469.667H0v4.666C0 14.667 1.333 16 2.667 16h4.666v-2.388c-.344.143-.533.434-1.192.434'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h16v16H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E";
|
|
173
173
|
};
|
|
174
|
+
/** A PrimeIcons name (without `pi-`), from the installed primeicons package. */
|
|
175
|
+
type DwPrimeIcon = "address-book" | "align-center" | "align-justify" | "align-left" | "align-right" | "amazon" | "android" | "angle-double-down" | "angle-double-left" | "angle-double-right" | "angle-double-up" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "apple" | "arrow-circle-down" | "arrow-circle-left" | "arrow-circle-right" | "arrow-circle-up" | "arrow-down" | "arrow-down-left" | "arrow-down-left-and-arrow-up-right-to-center" | "arrow-down-right" | "arrow-left" | "arrow-right" | "arrow-right-arrow-left" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "arrow-up-right-and-arrow-down-left-from-center" | "arrows-alt" | "arrows-h" | "arrows-v" | "asterisk" | "at" | "backward" | "ban" | "barcode" | "bars" | "bell" | "bell-slash" | "bitcoin" | "bolt" | "book" | "bookmark" | "bookmark-fill" | "box" | "briefcase" | "building" | "building-columns" | "bullseye" | "calculator" | "calendar" | "calendar-clock" | "calendar-minus" | "calendar-plus" | "calendar-times" | "camera" | "car" | "caret-down" | "caret-left" | "caret-right" | "caret-up" | "cart-arrow-down" | "cart-minus" | "cart-plus" | "chart-bar" | "chart-line" | "chart-pie" | "chart-scatter" | "check" | "check-circle" | "check-square" | "chevron-circle-down" | "chevron-circle-left" | "chevron-circle-right" | "chevron-circle-up" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle" | "circle-fill" | "circle-off" | "circle-on" | "clipboard" | "clock" | "clone" | "cloud" | "cloud-download" | "cloud-upload" | "code" | "cog" | "comment" | "comments" | "compass" | "copy" | "credit-card" | "crown" | "database" | "delete-left" | "desktop" | "directions" | "directions-alt" | "discord" | "dollar" | "download" | "eject" | "ellipsis-h" | "ellipsis-v" | "envelope" | "equals" | "eraser" | "ethereum" | "euro" | "exclamation-circle" | "exclamation-triangle" | "expand" | "external-link" | "eye" | "eye-slash" | "face-smile" | "facebook" | "fast-backward" | "fast-forward" | "file" | "file-arrow-up" | "file-check" | "file-edit" | "file-excel" | "file-export" | "file-import" | "file-o" | "file-pdf" | "file-plus" | "file-word" | "filter" | "filter-fill" | "filter-slash" | "flag" | "flag-fill" | "folder" | "folder-open" | "folder-plus" | "forward" | "gauge" | "gift" | "github" | "globe" | "google" | "graduation-cap" | "hammer" | "hashtag" | "headphones" | "heart" | "heart-fill" | "history" | "home" | "hourglass" | "id-card" | "image" | "images" | "inbox" | "indian-rupee" | "info" | "info-circle" | "instagram" | "key" | "language" | "lightbulb" | "link" | "linkedin" | "list" | "list-check" | "lock" | "lock-open" | "map" | "map-marker" | "mars" | "megaphone" | "microchip" | "microchip-ai" | "microphone" | "microsoft" | "minus" | "minus-circle" | "mobile" | "money-bill" | "moon" | "objects-column" | "palette" | "paperclip" | "pause" | "pause-circle" | "paypal" | "pen-to-square" | "pencil" | "percentage" | "phone" | "pinterest" | "play" | "play-circle" | "plus" | "plus-circle" | "pound" | "power-off" | "prime" | "print" | "qrcode" | "question" | "question-circle" | "receipt" | "reddit" | "refresh" | "replay" | "reply" | "save" | "search" | "search-minus" | "search-plus" | "send" | "server" | "share-alt" | "shield" | "shop" | "shopping-bag" | "shopping-cart" | "sign-in" | "sign-out" | "sitemap" | "slack" | "sliders-h" | "sliders-v" | "sort" | "sort-alpha-down" | "sort-alpha-down-alt" | "sort-alpha-up" | "sort-alpha-up-alt" | "sort-alt" | "sort-alt-slash" | "sort-amount-down" | "sort-amount-down-alt" | "sort-amount-up" | "sort-amount-up-alt" | "sort-down" | "sort-down-fill" | "sort-numeric-down" | "sort-numeric-down-alt" | "sort-numeric-up" | "sort-numeric-up-alt" | "sort-up" | "sort-up-fill" | "sparkles" | "spinner" | "spinner-dotted" | "star" | "star-fill" | "star-half" | "star-half-fill" | "step-backward" | "step-backward-alt" | "step-forward" | "step-forward-alt" | "stop" | "stop-circle" | "stopwatch" | "sun" | "sync" | "table" | "tablet" | "tag" | "tags" | "telegram" | "th-large" | "thumbs-down" | "thumbs-down-fill" | "thumbs-up" | "thumbs-up-fill" | "thumbtack" | "ticket" | "tiktok" | "times" | "times-circle" | "trash" | "trophy" | "truck" | "turkish-lira" | "twitch" | "twitter" | "undo" | "unlock" | "upload" | "user" | "user-edit" | "user-minus" | "user-plus" | "users" | "venus" | "verified" | "video" | "vimeo" | "volume-down" | "volume-off" | "volume-up" | "wallet" | "warehouse" | "wave-pulse" | "whatsapp" | "wifi" | "window-maximize" | "window-minimize" | "wrench" | "youtube";
|
|
174
176
|
|
|
175
177
|
/**
|
|
176
178
|
* The Dataworkz glyphs (what PrimeIcons lacks: hand, brain, workflow…), one file each in
|
|
177
|
-
* `icons/svg/glyphs/<name>.svg`, drawn in currentColor. Render with
|
|
179
|
+
* `icons/svg/glyphs/<name>.svg`, drawn in currentColor. Render with `<dw-icon name="hand" />`, or pass `dwi-hand` to
|
|
178
180
|
* the `icon` input of dw-nav-list, dw-rail-tabs or dw-chip. Markup is crystal-owned constants, so it is safe to bind
|
|
179
181
|
* as HTML.
|
|
180
182
|
*
|
|
@@ -242,4 +244,4 @@ declare function storageIcon(key: string | null | undefined, options?: StorageIc
|
|
|
242
244
|
declare function fileIconByExtension(extension: string): string;
|
|
243
245
|
|
|
244
246
|
export { DW_ICON_NAMES, DW_ICON_PREFIX, DW_LOGO_URIS, GENERIC_COLLECTION_ICON, GENERIC_STORAGE_ICON, GENERIC_TOOL_ICON, TOOL_ICON_KEYS, dwIconName, fileIconByExtension, icon, isGlyphName, isToolIconKey, storageIcon, storageIconKeys, toolIcon };
|
|
245
|
-
export type { DwIconName, IconName, StorageIconKey, StorageIconOptions, StorageIconSet, ToolIconKey };
|
|
247
|
+
export type { DwIconName, DwPrimeIcon, IconName, StorageIconKey, StorageIconOptions, StorageIconSet, ToolIconKey };
|