@unif/react-native-design 0.1.2 → 0.2.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/lib/module/components/ui/Empty/Empty.js +4 -2
- package/lib/module/components/ui/Empty/Empty.js.map +1 -1
- package/lib/module/components/ui/Empty/types.js +2 -0
- package/lib/module/components/ui/Thumbnail/Thumbnail.js +16 -4
- package/lib/module/components/ui/Thumbnail/Thumbnail.js.map +1 -1
- package/lib/module/components/ui/Thumbnail/styles.js +8 -1
- package/lib/module/components/ui/Thumbnail/styles.js.map +1 -1
- package/lib/module/icons/data.js +198 -2
- package/lib/module/icons/data.js.map +1 -1
- package/lib/typescript/src/components/ui/Empty/Empty.d.ts +3 -2
- package/lib/typescript/src/components/ui/Empty/Empty.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Empty/types.d.ts +4 -0
- package/lib/typescript/src/components/ui/Empty/types.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Thumbnail/Thumbnail.d.ts +4 -2
- package/lib/typescript/src/components/ui/Thumbnail/Thumbnail.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Thumbnail/styles.d.ts +8 -1
- package/lib/typescript/src/components/ui/Thumbnail/styles.d.ts.map +1 -1
- package/lib/typescript/src/components/ui/Thumbnail/types.d.ts +3 -0
- package/lib/typescript/src/components/ui/Thumbnail/types.d.ts.map +1 -1
- package/lib/typescript/src/icons/data.d.ts +1 -1
- package/lib/typescript/src/icons/data.d.ts.map +1 -1
- package/package.json +4 -2
- package/src/components/ui/Empty/Empty.tsx +9 -3
- package/src/components/ui/Empty/types.ts +5 -0
- package/src/components/ui/Thumbnail/Thumbnail.tsx +17 -4
- package/src/components/ui/Thumbnail/styles.ts +8 -1
- package/src/components/ui/Thumbnail/types.ts +3 -0
- package/src/icons/data.ts +271 -1
- package/lib/module/icons/svg/alert.svg +0 -1
- package/lib/module/icons/svg/app-fallback.svg +0 -1
- package/lib/module/icons/svg/arrow-down.svg +0 -1
- package/lib/module/icons/svg/arrow-left.svg +0 -1
- package/lib/module/icons/svg/arrow-right.svg +0 -1
- package/lib/module/icons/svg/arrow-up.svg +0 -1
- package/lib/module/icons/svg/attachment.svg +0 -1
- package/lib/module/icons/svg/bag-check.svg +0 -1
- package/lib/module/icons/svg/bell.svg +0 -1
- package/lib/module/icons/svg/bot.svg +0 -1
- package/lib/module/icons/svg/box-list.svg +0 -1
- package/lib/module/icons/svg/box-up.svg +0 -1
- package/lib/module/icons/svg/building.svg +0 -1
- package/lib/module/icons/svg/calculator.svg +0 -1
- package/lib/module/icons/svg/calendar-route.svg +0 -1
- package/lib/module/icons/svg/calendar.svg +0 -1
- package/lib/module/icons/svg/camera.svg +0 -1
- package/lib/module/icons/svg/card.svg +0 -1
- package/lib/module/icons/svg/chat-star.svg +0 -1
- package/lib/module/icons/svg/check.svg +0 -1
- package/lib/module/icons/svg/chevron-down.svg +0 -1
- package/lib/module/icons/svg/chevron-left.svg +0 -1
- package/lib/module/icons/svg/chevron-right.svg +0 -1
- package/lib/module/icons/svg/chevron-up.svg +0 -1
- package/lib/module/icons/svg/circle-minus.svg +0 -1
- package/lib/module/icons/svg/circle-plus.svg +0 -1
- package/lib/module/icons/svg/clipboard-search.svg +0 -1
- package/lib/module/icons/svg/clipboard-user.svg +0 -1
- package/lib/module/icons/svg/clipboard.svg +0 -1
- package/lib/module/icons/svg/close.svg +0 -1
- package/lib/module/icons/svg/coin.svg +0 -1
- package/lib/module/icons/svg/copy.svg +0 -1
- package/lib/module/icons/svg/dashboard-megaphone.svg +0 -1
- package/lib/module/icons/svg/dashboard-star.svg +0 -1
- package/lib/module/icons/svg/download.svg +0 -1
- package/lib/module/icons/svg/edit-pencil.svg +0 -1
- package/lib/module/icons/svg/edit.svg +0 -1
- package/lib/module/icons/svg/error.svg +0 -1
- package/lib/module/icons/svg/eye-off.svg +0 -1
- package/lib/module/icons/svg/eye.svg +0 -1
- package/lib/module/icons/svg/file.svg +0 -1
- package/lib/module/icons/svg/filter.svg +0 -1
- package/lib/module/icons/svg/flag.svg +0 -1
- package/lib/module/icons/svg/grid.svg +0 -1
- package/lib/module/icons/svg/heart.svg +0 -1
- package/lib/module/icons/svg/home.svg +0 -1
- package/lib/module/icons/svg/image.svg +0 -1
- package/lib/module/icons/svg/info.svg +0 -1
- package/lib/module/icons/svg/keyboard.svg +0 -1
- package/lib/module/icons/svg/lightbulb.svg +0 -1
- package/lib/module/icons/svg/list.svg +0 -1
- package/lib/module/icons/svg/location.svg +0 -1
- package/lib/module/icons/svg/lock.svg +0 -1
- package/lib/module/icons/svg/logout.svg +0 -1
- package/lib/module/icons/svg/mail.svg +0 -1
- package/lib/module/icons/svg/menu.svg +0 -1
- package/lib/module/icons/svg/mic-on.svg +0 -1
- package/lib/module/icons/svg/mic.svg +0 -1
- package/lib/module/icons/svg/more-h.svg +0 -1
- package/lib/module/icons/svg/more-v.svg +0 -1
- package/lib/module/icons/svg/order.svg +0 -1
- package/lib/module/icons/svg/package.svg +0 -1
- package/lib/module/icons/svg/paperclip.svg +0 -1
- package/lib/module/icons/svg/pause.svg +0 -1
- package/lib/module/icons/svg/phone.svg +0 -1
- package/lib/module/icons/svg/pin-search.svg +0 -1
- package/lib/module/icons/svg/play.svg +0 -1
- package/lib/module/icons/svg/plus.svg +0 -1
- package/lib/module/icons/svg/qr.svg +0 -1
- package/lib/module/icons/svg/refresh.svg +0 -1
- package/lib/module/icons/svg/retry.svg +0 -1
- package/lib/module/icons/svg/route.svg +0 -1
- package/lib/module/icons/svg/scan.svg +0 -1
- package/lib/module/icons/svg/scanner.svg +0 -1
- package/lib/module/icons/svg/search.svg +0 -1
- package/lib/module/icons/svg/send.svg +0 -1
- package/lib/module/icons/svg/settings.svg +0 -1
- package/lib/module/icons/svg/share.svg +0 -1
- package/lib/module/icons/svg/shelf-pay.svg +0 -1
- package/lib/module/icons/svg/shield-check.svg +0 -1
- package/lib/module/icons/svg/sort.svg +0 -1
- package/lib/module/icons/svg/sound.svg +0 -1
- package/lib/module/icons/svg/spark.svg +0 -1
- package/lib/module/icons/svg/star.svg +0 -1
- package/lib/module/icons/svg/stop.svg +0 -1
- package/lib/module/icons/svg/storefront-ai.svg +0 -1
- package/lib/module/icons/svg/storefront-arrow.svg +0 -1
- package/lib/module/icons/svg/storefront-check.svg +0 -1
- package/lib/module/icons/svg/storefront-tag.svg +0 -1
- package/lib/module/icons/svg/storefront.svg +0 -1
- package/lib/module/icons/svg/success.svg +0 -1
- package/lib/module/icons/svg/tag.svg +0 -1
- package/lib/module/icons/svg/thinking.svg +0 -1
- package/lib/module/icons/svg/trash.svg +0 -1
- package/lib/module/icons/svg/upload.svg +0 -1
- package/lib/module/icons/svg/user.svg +0 -1
- package/lib/module/icons/svg/users-search.svg +0 -1
- package/lib/module/icons/svg/visit.svg +0 -1
- package/lib/module/icons/svg/warning.svg +0 -1
- package/src/icons/svg/alert.svg +0 -1
- package/src/icons/svg/app-fallback.svg +0 -1
- package/src/icons/svg/arrow-down.svg +0 -1
- package/src/icons/svg/arrow-left.svg +0 -1
- package/src/icons/svg/arrow-right.svg +0 -1
- package/src/icons/svg/arrow-up.svg +0 -1
- package/src/icons/svg/attachment.svg +0 -1
- package/src/icons/svg/bag-check.svg +0 -1
- package/src/icons/svg/bell.svg +0 -1
- package/src/icons/svg/bot.svg +0 -1
- package/src/icons/svg/box-list.svg +0 -1
- package/src/icons/svg/box-up.svg +0 -1
- package/src/icons/svg/building.svg +0 -1
- package/src/icons/svg/calculator.svg +0 -1
- package/src/icons/svg/calendar-route.svg +0 -1
- package/src/icons/svg/calendar.svg +0 -1
- package/src/icons/svg/camera.svg +0 -1
- package/src/icons/svg/card.svg +0 -1
- package/src/icons/svg/chat-star.svg +0 -1
- package/src/icons/svg/check.svg +0 -1
- package/src/icons/svg/chevron-down.svg +0 -1
- package/src/icons/svg/chevron-left.svg +0 -1
- package/src/icons/svg/chevron-right.svg +0 -1
- package/src/icons/svg/chevron-up.svg +0 -1
- package/src/icons/svg/circle-minus.svg +0 -1
- package/src/icons/svg/circle-plus.svg +0 -1
- package/src/icons/svg/clipboard-search.svg +0 -1
- package/src/icons/svg/clipboard-user.svg +0 -1
- package/src/icons/svg/clipboard.svg +0 -1
- package/src/icons/svg/close.svg +0 -1
- package/src/icons/svg/coin.svg +0 -1
- package/src/icons/svg/copy.svg +0 -1
- package/src/icons/svg/dashboard-megaphone.svg +0 -1
- package/src/icons/svg/dashboard-star.svg +0 -1
- package/src/icons/svg/download.svg +0 -1
- package/src/icons/svg/edit-pencil.svg +0 -1
- package/src/icons/svg/edit.svg +0 -1
- package/src/icons/svg/error.svg +0 -1
- package/src/icons/svg/eye-off.svg +0 -1
- package/src/icons/svg/eye.svg +0 -1
- package/src/icons/svg/file.svg +0 -1
- package/src/icons/svg/filter.svg +0 -1
- package/src/icons/svg/flag.svg +0 -1
- package/src/icons/svg/grid.svg +0 -1
- package/src/icons/svg/heart.svg +0 -1
- package/src/icons/svg/home.svg +0 -1
- package/src/icons/svg/image.svg +0 -1
- package/src/icons/svg/info.svg +0 -1
- package/src/icons/svg/keyboard.svg +0 -1
- package/src/icons/svg/lightbulb.svg +0 -1
- package/src/icons/svg/list.svg +0 -1
- package/src/icons/svg/location.svg +0 -1
- package/src/icons/svg/lock.svg +0 -1
- package/src/icons/svg/logout.svg +0 -1
- package/src/icons/svg/mail.svg +0 -1
- package/src/icons/svg/menu.svg +0 -1
- package/src/icons/svg/mic-on.svg +0 -1
- package/src/icons/svg/mic.svg +0 -1
- package/src/icons/svg/more-h.svg +0 -1
- package/src/icons/svg/more-v.svg +0 -1
- package/src/icons/svg/order.svg +0 -1
- package/src/icons/svg/package.svg +0 -1
- package/src/icons/svg/paperclip.svg +0 -1
- package/src/icons/svg/pause.svg +0 -1
- package/src/icons/svg/phone.svg +0 -1
- package/src/icons/svg/pin-search.svg +0 -1
- package/src/icons/svg/play.svg +0 -1
- package/src/icons/svg/plus.svg +0 -1
- package/src/icons/svg/qr.svg +0 -1
- package/src/icons/svg/refresh.svg +0 -1
- package/src/icons/svg/retry.svg +0 -1
- package/src/icons/svg/route.svg +0 -1
- package/src/icons/svg/scan.svg +0 -1
- package/src/icons/svg/scanner.svg +0 -1
- package/src/icons/svg/search.svg +0 -1
- package/src/icons/svg/send.svg +0 -1
- package/src/icons/svg/settings.svg +0 -1
- package/src/icons/svg/share.svg +0 -1
- package/src/icons/svg/shelf-pay.svg +0 -1
- package/src/icons/svg/shield-check.svg +0 -1
- package/src/icons/svg/sort.svg +0 -1
- package/src/icons/svg/sound.svg +0 -1
- package/src/icons/svg/spark.svg +0 -1
- package/src/icons/svg/star.svg +0 -1
- package/src/icons/svg/stop.svg +0 -1
- package/src/icons/svg/storefront-ai.svg +0 -1
- package/src/icons/svg/storefront-arrow.svg +0 -1
- package/src/icons/svg/storefront-check.svg +0 -1
- package/src/icons/svg/storefront-tag.svg +0 -1
- package/src/icons/svg/storefront.svg +0 -1
- package/src/icons/svg/success.svg +0 -1
- package/src/icons/svg/tag.svg +0 -1
- package/src/icons/svg/thinking.svg +0 -1
- package/src/icons/svg/trash.svg +0 -1
- package/src/icons/svg/upload.svg +0 -1
- package/src/icons/svg/user.svg +0 -1
- package/src/icons/svg/users-search.svg +0 -1
- package/src/icons/svg/visit.svg +0 -1
- package/src/icons/svg/warning.svg +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Thumbnail/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE/E;;;sCAGsC;AACtC,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/C,MAAM,MAAM,cAAc,GAAG;IAC3B,uDAAuD;IACvD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,+DAA+D;IAC/D,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,sBAAsB;IACtB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,8DAA8D;IAC9D,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAC9B,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxD,2CAA2C;IAC3C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Thumbnail/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE/E;;;sCAGsC;AACtC,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/C,MAAM,MAAM,cAAc,GAAG;IAC3B,uDAAuD;IACvD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,+DAA+D;IAC/D,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,sBAAsB;IACtB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;kFAC8E;IAC9E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8DAA8D;IAC9D,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAC9B,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxD,2CAA2C;IAC3C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IconDef } from './types';
|
|
2
|
-
export type IconName = 'alert' | 'app-fallback' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'attachment' | 'bag-check' | 'bell' | 'bot' | 'box-list' | 'box-up' | 'building' | 'calculator' | 'calendar-route' | 'calendar' | 'camera' | 'card' | 'chat-star' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle-minus' | 'circle-plus' | 'clipboard-search' | 'clipboard-user' | 'clipboard' | 'close' | 'coin' | 'copy' | 'dashboard-megaphone' | 'dashboard-star' | 'download' | 'edit-pencil' | 'edit' | 'error' | 'eye-off' | 'eye' | 'file' | 'filter' | 'flag' | 'grid' | 'heart' | 'home' | 'image' | 'info' | 'keyboard' | 'lightbulb' | 'list' | 'location' | 'lock' | 'logout' | 'mail' | 'menu' | 'mic-on' | 'mic' | 'more-h' | 'more-v' | 'order' | 'package' | 'paperclip' | 'pause' | 'phone' | 'pin-search' | 'play' | 'plus' | 'qr' | 'refresh' | 'retry' | 'route' | 'scan' | 'scanner' | 'search' | 'send' | 'settings' | 'share' | 'shelf-pay' | 'shield-check' | 'sort' | 'sound' | 'spark' | 'star' | 'stop' | 'storefront-ai' | 'storefront-arrow' | 'storefront-check' | 'storefront-tag' | 'storefront' | 'success' | 'tag' | 'thinking' | 'trash' | 'upload' | 'user' | 'users-search' | 'visit' | 'warning';
|
|
2
|
+
export type IconName = 'alert' | 'app-fallback' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'aspect-16-9' | 'aspect-4-3' | 'attachment' | 'bag-check' | 'bell' | 'bot' | 'box-list' | 'box-up' | 'building' | 'calculator' | 'calendar-route' | 'calendar' | 'camera-flip' | 'camera-off' | 'camera' | 'card' | 'chat-star' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle-minus' | 'circle-plus' | 'clipboard-search' | 'clipboard-user' | 'clipboard' | 'close' | 'coin' | 'copy' | 'dashboard-megaphone' | 'dashboard-star' | 'download' | 'edit-pencil' | 'edit' | 'error-alert' | 'error' | 'eye-off' | 'eye' | 'file' | 'filter' | 'flag' | 'flash-auto' | 'flash-off' | 'flash-on' | 'grid' | 'heart' | 'home' | 'image' | 'info' | 'keyboard' | 'lens-flip' | 'lightbulb' | 'list' | 'location' | 'lock' | 'logout' | 'mail' | 'menu' | 'mic-on' | 'mic' | 'more-h' | 'more-v' | 'order' | 'package' | 'paperclip' | 'pause' | 'permission-denied' | 'phone' | 'pin-search' | 'play' | 'plus' | 'qr' | 'refresh' | 'retry' | 'route' | 'scan' | 'scanner' | 'search' | 'send' | 'settings' | 'share' | 'shelf-pay' | 'shield-check' | 'shutter-recording' | 'shutter' | 'sort' | 'sound' | 'spark' | 'star' | 'stop' | 'storefront-ai' | 'storefront-arrow' | 'storefront-check' | 'storefront-tag' | 'storefront' | 'success' | 'tag' | 'thinking' | 'trash' | 'upload' | 'user' | 'users-search' | 'visit' | 'warning';
|
|
3
3
|
export declare const ICONS: Record<IconName, IconDef>;
|
|
4
4
|
export declare const ICON_NAMES: IconName[];
|
|
5
5
|
//# sourceMappingURL=data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/icons/data.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,UAAU,GACV,YAAY,GACZ,WAAW,GACX,MAAM,GACN,KAAK,GACL,UAAU,GACV,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,gBAAgB,GAChB,UAAU,GACV,QAAQ,GACR,MAAM,GACN,WAAW,GACX,OAAO,GACP,cAAc,GACd,cAAc,GACd,eAAe,GACf,YAAY,GACZ,cAAc,GACd,aAAa,GACb,kBAAkB,GAClB,gBAAgB,GAChB,WAAW,GACX,OAAO,GACP,MAAM,GACN,MAAM,GACN,qBAAqB,GACrB,gBAAgB,GAChB,UAAU,GACV,aAAa,GACb,MAAM,GACN,OAAO,GACP,SAAS,GACT,KAAK,GACL,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,OAAO,GACP,MAAM,GACN,UAAU,GACV,WAAW,GACX,MAAM,GACN,UAAU,GACV,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,SAAS,GACT,WAAW,GACX,OAAO,GACP,OAAO,GACP,YAAY,GACZ,MAAM,GACN,MAAM,GACN,IAAI,GACJ,SAAS,GACT,OAAO,GACP,OAAO,GACP,MAAM,GACN,SAAS,GACT,QAAQ,GACR,MAAM,GACN,UAAU,GACV,OAAO,GACP,WAAW,GACX,cAAc,GACd,MAAM,GACN,OAAO,GACP,OAAO,GACP,MAAM,GACN,MAAM,GACN,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,gBAAgB,GAChB,YAAY,GACZ,SAAS,GACT,KAAK,GACL,UAAU,GACV,OAAO,GACP,QAAQ,GACR,MAAM,GACN,cAAc,GACd,OAAO,GACP,SAAS,CAAC;AAEd,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,QAAQ,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/icons/data.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,UAAU,GACV,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,MAAM,GACN,KAAK,GACL,UAAU,GACV,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,gBAAgB,GAChB,UAAU,GACV,aAAa,GACb,YAAY,GACZ,QAAQ,GACR,MAAM,GACN,WAAW,GACX,OAAO,GACP,cAAc,GACd,cAAc,GACd,eAAe,GACf,YAAY,GACZ,cAAc,GACd,aAAa,GACb,kBAAkB,GAClB,gBAAgB,GAChB,WAAW,GACX,OAAO,GACP,MAAM,GACN,MAAM,GACN,qBAAqB,GACrB,gBAAgB,GAChB,UAAU,GACV,aAAa,GACb,MAAM,GACN,aAAa,GACb,OAAO,GACP,SAAS,GACT,KAAK,GACL,MAAM,GACN,QAAQ,GACR,MAAM,GACN,YAAY,GACZ,WAAW,GACX,UAAU,GACV,MAAM,GACN,OAAO,GACP,MAAM,GACN,OAAO,GACP,MAAM,GACN,UAAU,GACV,WAAW,GACX,WAAW,GACX,MAAM,GACN,UAAU,GACV,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,SAAS,GACT,WAAW,GACX,OAAO,GACP,mBAAmB,GACnB,OAAO,GACP,YAAY,GACZ,MAAM,GACN,MAAM,GACN,IAAI,GACJ,SAAS,GACT,OAAO,GACP,OAAO,GACP,MAAM,GACN,SAAS,GACT,QAAQ,GACR,MAAM,GACN,UAAU,GACV,OAAO,GACP,WAAW,GACX,cAAc,GACd,mBAAmB,GACnB,SAAS,GACT,MAAM,GACN,OAAO,GACP,OAAO,GACP,MAAM,GACN,MAAM,GACN,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,gBAAgB,GAChB,YAAY,GACZ,SAAS,GACT,KAAK,GACL,UAAU,GACV,OAAO,GACP,QAAQ,GACR,MAAM,GACN,cAAc,GACd,OAAO,GACP,SAAS,CAAC;AAEd,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,QAAQ,EAAE,OAAO,CA8sE3C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,QAAQ,EAgHhC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unif/react-native-design",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Unif 设计系统:theme + icons + utils + components",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"!android/gradlew",
|
|
27
27
|
"!android/gradlew.bat",
|
|
28
28
|
"!android/local.properties",
|
|
29
|
+
"!**/icons/svg",
|
|
29
30
|
"!**/__tests__",
|
|
30
31
|
"!**/__fixtures__",
|
|
31
32
|
"!**/__mocks__",
|
|
@@ -153,7 +154,8 @@
|
|
|
153
154
|
"tagName": "v${version}"
|
|
154
155
|
},
|
|
155
156
|
"npm": {
|
|
156
|
-
"publish": true
|
|
157
|
+
"publish": true,
|
|
158
|
+
"skipChecks": true
|
|
157
159
|
},
|
|
158
160
|
"github": {
|
|
159
161
|
"release": true
|
|
@@ -6,15 +6,21 @@ import { makeStyles } from './styles';
|
|
|
6
6
|
import type { EmptyProps } from './types';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* 空态 / 占位组件 —— `primary-0` 圆盘上的
|
|
9
|
+
* 空态 / 占位组件 —— `primary-0` 圆盘上的 icon 插画 + 标题 + 描述。
|
|
10
|
+
* icon 默认 `'spark'`(通用空态);相机 / 出错 / 权限场景应显式传强语义 icon。
|
|
10
11
|
*/
|
|
11
|
-
export function Empty({
|
|
12
|
+
export function Empty({
|
|
13
|
+
title,
|
|
14
|
+
desc,
|
|
15
|
+
icon = 'spark',
|
|
16
|
+
testID,
|
|
17
|
+
}: EmptyProps): React.JSX.Element {
|
|
12
18
|
const c = useColors();
|
|
13
19
|
const styles = useThemedStyles(makeStyles);
|
|
14
20
|
return (
|
|
15
21
|
<View style={styles.wrap} testID={testID}>
|
|
16
22
|
<View style={styles.illust}>
|
|
17
|
-
<Icon name=
|
|
23
|
+
<Icon name={icon} size={28} color={c.primary} />
|
|
18
24
|
</View>
|
|
19
25
|
<Text style={styles.title}>{title}</Text>
|
|
20
26
|
{desc ? <Text style={styles.desc}>{desc}</Text> : null}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import type { IconName } from '../../../icons';
|
|
2
|
+
|
|
1
3
|
export type EmptyProps = {
|
|
2
4
|
/** 主标题(如「暂无数据」) */
|
|
3
5
|
title: string;
|
|
4
6
|
/** 副描述(建议下一步操作) */
|
|
5
7
|
desc?: string;
|
|
8
|
+
/** illust 圆盘内的图标,默认 `'spark'`(通用空态)。
|
|
9
|
+
* 相机域可传 `'camera-off'` / `'permission-denied'` / `'error-alert'` 等强语义 icon。 */
|
|
10
|
+
icon?: IconName;
|
|
6
11
|
/** E2E / 测试定位 */
|
|
7
12
|
testID?: string;
|
|
8
13
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Image } from 'react-native';
|
|
2
|
+
import { Image, View } from 'react-native';
|
|
3
3
|
import { useThemedStyles } from '../../../theme';
|
|
4
4
|
import { makeStyles, sizingFor } from './styles';
|
|
5
5
|
import type { ThumbnailProps } from './types';
|
|
@@ -8,15 +8,18 @@ import type { ThumbnailProps } from './types';
|
|
|
8
8
|
*
|
|
9
9
|
* 尺寸阶梯:sm / md(默认 113×67)/ lg,与 NewsList / NewsArea 历史一致。
|
|
10
10
|
* bg 占位 = c.surfaceContainer(图加载中 / 失败时不至于空白)。
|
|
11
|
+
* `selected` 时外层套 View 画 2pt 品牌色 ring;不选中保持纯 Image 结构。
|
|
11
12
|
*
|
|
12
13
|
* 用法:
|
|
13
14
|
* - 远程 URL:`<Thumbnail uri={item.coverUrl} />`
|
|
14
15
|
* - 本地资源:`<Thumbnail source={require('./fallback.png')} />`
|
|
15
|
-
* - 自定义尺寸:`<Thumbnail uri={...} size="lg" />`
|
|
16
|
+
* - 自定义尺寸:`<Thumbnail uri={...} size="lg" />`
|
|
17
|
+
* - 选中态:`<Thumbnail uri={...} selected />` */
|
|
16
18
|
export function Thumbnail({
|
|
17
19
|
uri,
|
|
18
20
|
source,
|
|
19
21
|
size = 'md',
|
|
22
|
+
selected,
|
|
20
23
|
style,
|
|
21
24
|
resizeMode = 'cover',
|
|
22
25
|
accessibilityLabel,
|
|
@@ -25,14 +28,24 @@ export function Thumbnail({
|
|
|
25
28
|
const styles = useThemedStyles(makeStyles);
|
|
26
29
|
if (!uri && !source) return null;
|
|
27
30
|
const dim = sizingFor(size);
|
|
28
|
-
|
|
31
|
+
const image = (
|
|
29
32
|
<Image
|
|
30
33
|
source={uri ? { uri } : (source as NonNullable<typeof source>)}
|
|
31
34
|
style={[styles.base, dim, style]}
|
|
32
35
|
resizeMode={resizeMode}
|
|
33
36
|
accessibilityLabel={accessibilityLabel}
|
|
34
37
|
accessible={!!accessibilityLabel}
|
|
35
|
-
testID={testID}
|
|
38
|
+
testID={selected ? undefined : testID}
|
|
36
39
|
/>
|
|
37
40
|
);
|
|
41
|
+
if (!selected) return image;
|
|
42
|
+
// ring 容器:borderRadius 比 image 大 (border + padding) 才能贴合包裹外圈
|
|
43
|
+
return (
|
|
44
|
+
<View
|
|
45
|
+
style={[styles.ring, { borderRadius: dim.borderRadius + 3 }]}
|
|
46
|
+
testID={testID}
|
|
47
|
+
>
|
|
48
|
+
{image}
|
|
49
|
+
</View>
|
|
50
|
+
);
|
|
38
51
|
}
|
|
@@ -2,12 +2,19 @@ import { StyleSheet } from 'react-native';
|
|
|
2
2
|
import { r, type ColorTokens } from '../../../theme';
|
|
3
3
|
import type { ThumbnailSize } from './types';
|
|
4
4
|
|
|
5
|
-
/** Thumbnail
|
|
5
|
+
/** Thumbnail 静态样式 ——
|
|
6
|
+
* - `base`:Image 占位色,加载中 / 失败时不至于空白
|
|
7
|
+
* - `ring`:`selected` 态的外圈品牌色描边,padding 抵消 ring 与 image 之间留 1pt gap */
|
|
6
8
|
export const makeStyles = (c: ColorTokens) =>
|
|
7
9
|
StyleSheet.create({
|
|
8
10
|
base: {
|
|
9
11
|
backgroundColor: c.surfaceContainer,
|
|
10
12
|
},
|
|
13
|
+
ring: {
|
|
14
|
+
borderWidth: 2,
|
|
15
|
+
borderColor: c.primary,
|
|
16
|
+
padding: 1,
|
|
17
|
+
},
|
|
11
18
|
});
|
|
12
19
|
|
|
13
20
|
/** Thumbnail size 阶梯 —— width / height / borderRadius 全 r() 缩放。
|
|
@@ -13,6 +13,9 @@ export type ThumbnailProps = {
|
|
|
13
13
|
source?: ImageSourcePropType;
|
|
14
14
|
/** 视觉尺寸阶梯,默认 'md'。 */
|
|
15
15
|
size?: ThumbnailSize;
|
|
16
|
+
/** 选中态:在缩略图外侧画 2pt 品牌色 ring。
|
|
17
|
+
* 用于"图片多选 / picker 选中" —— 不再需要 caller 自行套 TouchableOpacity + borderColor。 */
|
|
18
|
+
selected?: boolean;
|
|
16
19
|
/** 自定义样式覆盖(尺寸 / 圆角 / bg 由 size 决定,style 仅做微调如 marginLeft)。 */
|
|
17
20
|
style?: StyleProp<ImageStyle>;
|
|
18
21
|
/** Image.resizeMode,默认 'cover'(裁切撑满)。 */
|
package/src/icons/data.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// AUTO-GENERATED by scripts/build-icons.js — DO NOT EDIT BY HAND.
|
|
2
|
-
// Source: src/
|
|
2
|
+
// Source: src/icons/svg/*.svg
|
|
3
3
|
// To regenerate: `node scripts/build-icons.js`
|
|
4
4
|
|
|
5
5
|
import type { IconDef } from './types';
|
|
@@ -11,6 +11,8 @@ export type IconName =
|
|
|
11
11
|
| 'arrow-left'
|
|
12
12
|
| 'arrow-right'
|
|
13
13
|
| 'arrow-up'
|
|
14
|
+
| 'aspect-16-9'
|
|
15
|
+
| 'aspect-4-3'
|
|
14
16
|
| 'attachment'
|
|
15
17
|
| 'bag-check'
|
|
16
18
|
| 'bell'
|
|
@@ -21,6 +23,8 @@ export type IconName =
|
|
|
21
23
|
| 'calculator'
|
|
22
24
|
| 'calendar-route'
|
|
23
25
|
| 'calendar'
|
|
26
|
+
| 'camera-flip'
|
|
27
|
+
| 'camera-off'
|
|
24
28
|
| 'camera'
|
|
25
29
|
| 'card'
|
|
26
30
|
| 'chat-star'
|
|
@@ -42,18 +46,23 @@ export type IconName =
|
|
|
42
46
|
| 'download'
|
|
43
47
|
| 'edit-pencil'
|
|
44
48
|
| 'edit'
|
|
49
|
+
| 'error-alert'
|
|
45
50
|
| 'error'
|
|
46
51
|
| 'eye-off'
|
|
47
52
|
| 'eye'
|
|
48
53
|
| 'file'
|
|
49
54
|
| 'filter'
|
|
50
55
|
| 'flag'
|
|
56
|
+
| 'flash-auto'
|
|
57
|
+
| 'flash-off'
|
|
58
|
+
| 'flash-on'
|
|
51
59
|
| 'grid'
|
|
52
60
|
| 'heart'
|
|
53
61
|
| 'home'
|
|
54
62
|
| 'image'
|
|
55
63
|
| 'info'
|
|
56
64
|
| 'keyboard'
|
|
65
|
+
| 'lens-flip'
|
|
57
66
|
| 'lightbulb'
|
|
58
67
|
| 'list'
|
|
59
68
|
| 'location'
|
|
@@ -69,6 +78,7 @@ export type IconName =
|
|
|
69
78
|
| 'package'
|
|
70
79
|
| 'paperclip'
|
|
71
80
|
| 'pause'
|
|
81
|
+
| 'permission-denied'
|
|
72
82
|
| 'phone'
|
|
73
83
|
| 'pin-search'
|
|
74
84
|
| 'play'
|
|
@@ -85,6 +95,8 @@ export type IconName =
|
|
|
85
95
|
| 'share'
|
|
86
96
|
| 'shelf-pay'
|
|
87
97
|
| 'shield-check'
|
|
98
|
+
| 'shutter-recording'
|
|
99
|
+
| 'shutter'
|
|
88
100
|
| 'sort'
|
|
89
101
|
| 'sound'
|
|
90
102
|
| 'spark'
|
|
@@ -207,6 +219,40 @@ export const ICONS: Record<IconName, IconDef> = {
|
|
|
207
219
|
},
|
|
208
220
|
],
|
|
209
221
|
},
|
|
222
|
+
'aspect-16-9': {
|
|
223
|
+
strokeWidth: 1.75,
|
|
224
|
+
elements: [
|
|
225
|
+
{
|
|
226
|
+
kind: 'rect',
|
|
227
|
+
x: 2,
|
|
228
|
+
y: 6.5,
|
|
229
|
+
width: 20,
|
|
230
|
+
height: 11,
|
|
231
|
+
rx: 1.5,
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
kind: 'path',
|
|
235
|
+
d: 'M6 10v4M10 10v4M14 10v4M18 10v4',
|
|
236
|
+
},
|
|
237
|
+
],
|
|
238
|
+
},
|
|
239
|
+
'aspect-4-3': {
|
|
240
|
+
strokeWidth: 1.75,
|
|
241
|
+
elements: [
|
|
242
|
+
{
|
|
243
|
+
kind: 'rect',
|
|
244
|
+
x: 3,
|
|
245
|
+
y: 5,
|
|
246
|
+
width: 18,
|
|
247
|
+
height: 14,
|
|
248
|
+
rx: 1.5,
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
kind: 'path',
|
|
252
|
+
d: 'M8 10v4M12 10v4M16 10v4',
|
|
253
|
+
},
|
|
254
|
+
],
|
|
255
|
+
},
|
|
210
256
|
'attachment': {
|
|
211
257
|
strokeWidth: 1.75,
|
|
212
258
|
elements: [
|
|
@@ -499,6 +545,48 @@ export const ICONS: Record<IconName, IconDef> = {
|
|
|
499
545
|
},
|
|
500
546
|
],
|
|
501
547
|
},
|
|
548
|
+
'camera-flip': {
|
|
549
|
+
strokeWidth: 1.75,
|
|
550
|
+
elements: [
|
|
551
|
+
{
|
|
552
|
+
kind: 'path',
|
|
553
|
+
d: 'M4 8h3l1.5-2h7L17 8h3a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z',
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
kind: 'path',
|
|
557
|
+
d: 'M9 13.5a3 3 0 0 1 5.6-1.5',
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
kind: 'path',
|
|
561
|
+
d: 'M14.6 12L16 12.2l.2-1.4',
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
kind: 'path',
|
|
565
|
+
d: 'M15 13.5a3 3 0 0 1-5.6 1.5',
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
kind: 'path',
|
|
569
|
+
d: 'M9.4 15L8 14.8l-.2 1.4',
|
|
570
|
+
},
|
|
571
|
+
],
|
|
572
|
+
},
|
|
573
|
+
'camera-off': {
|
|
574
|
+
strokeWidth: 1.75,
|
|
575
|
+
elements: [
|
|
576
|
+
{
|
|
577
|
+
kind: 'path',
|
|
578
|
+
d: 'M4 8h3l1.5-2h7L17 8h3a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z',
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
kind: 'path',
|
|
582
|
+
d: 'M3 3l18 18',
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
kind: 'path',
|
|
586
|
+
d: 'M9.5 12.5a3 3 0 0 0 4 4',
|
|
587
|
+
},
|
|
588
|
+
],
|
|
589
|
+
},
|
|
502
590
|
'camera': {
|
|
503
591
|
strokeWidth: 1.75,
|
|
504
592
|
elements: [
|
|
@@ -862,6 +950,40 @@ export const ICONS: Record<IconName, IconDef> = {
|
|
|
862
950
|
},
|
|
863
951
|
],
|
|
864
952
|
},
|
|
953
|
+
'error-alert': {
|
|
954
|
+
strokeWidth: 1.75,
|
|
955
|
+
elements: [
|
|
956
|
+
{
|
|
957
|
+
kind: 'path',
|
|
958
|
+
d: 'M4 8h3l1.5-2h6L16 8h2a1 1 0 0 1 1 1v4',
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
kind: 'path',
|
|
962
|
+
d: 'M3 9v9a1 1 0 0 0 1 1h8',
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
kind: 'circle',
|
|
966
|
+
cx: 11,
|
|
967
|
+
cy: 13.5,
|
|
968
|
+
r: 2.6,
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
kind: 'path',
|
|
972
|
+
d: 'M18 14l4 7h-8z',
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
kind: 'path',
|
|
976
|
+
d: 'M20 17v1.7',
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
kind: 'circle',
|
|
980
|
+
cx: 20,
|
|
981
|
+
cy: 20,
|
|
982
|
+
r: 0.7,
|
|
983
|
+
fill: 'currentColor',
|
|
984
|
+
},
|
|
985
|
+
],
|
|
986
|
+
},
|
|
865
987
|
'error': {
|
|
866
988
|
strokeWidth: 1.75,
|
|
867
989
|
elements: [
|
|
@@ -952,6 +1074,46 @@ export const ICONS: Record<IconName, IconDef> = {
|
|
|
952
1074
|
},
|
|
953
1075
|
],
|
|
954
1076
|
},
|
|
1077
|
+
'flash-auto': {
|
|
1078
|
+
strokeWidth: 1.75,
|
|
1079
|
+
elements: [
|
|
1080
|
+
{
|
|
1081
|
+
kind: 'path',
|
|
1082
|
+
d: 'M10 2L4 12h4.5l-.5 7 6-9h-4z',
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
kind: 'path',
|
|
1086
|
+
d: 'M14.5 17L17 9l2.5 8',
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
kind: 'path',
|
|
1090
|
+
d: 'M15.2 14.5h3.6',
|
|
1091
|
+
},
|
|
1092
|
+
],
|
|
1093
|
+
},
|
|
1094
|
+
'flash-off': {
|
|
1095
|
+
strokeWidth: 1.75,
|
|
1096
|
+
elements: [
|
|
1097
|
+
{
|
|
1098
|
+
kind: 'path',
|
|
1099
|
+
d: 'M13 2L5 13h6l-1 9 8-11h-6z',
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
kind: 'path',
|
|
1103
|
+
d: 'M4 4l16 16',
|
|
1104
|
+
},
|
|
1105
|
+
],
|
|
1106
|
+
},
|
|
1107
|
+
'flash-on': {
|
|
1108
|
+
strokeWidth: 1.75,
|
|
1109
|
+
elements: [
|
|
1110
|
+
{
|
|
1111
|
+
kind: 'path',
|
|
1112
|
+
d: 'M13 2L5 13h6l-1 9 8-11h-6z',
|
|
1113
|
+
fill: 'currentColor',
|
|
1114
|
+
},
|
|
1115
|
+
],
|
|
1116
|
+
},
|
|
955
1117
|
'grid': {
|
|
956
1118
|
strokeWidth: 1.75,
|
|
957
1119
|
elements: [
|
|
@@ -1081,6 +1243,33 @@ export const ICONS: Record<IconName, IconDef> = {
|
|
|
1081
1243
|
},
|
|
1082
1244
|
],
|
|
1083
1245
|
},
|
|
1246
|
+
'lens-flip': {
|
|
1247
|
+
strokeWidth: 1.75,
|
|
1248
|
+
elements: [
|
|
1249
|
+
{
|
|
1250
|
+
kind: 'circle',
|
|
1251
|
+
cx: 12,
|
|
1252
|
+
cy: 12,
|
|
1253
|
+
r: 4.5,
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
kind: 'path',
|
|
1257
|
+
d: 'M5 12a7 7 0 0 1 11.5-5.3',
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
kind: 'path',
|
|
1261
|
+
d: 'M14 4.5L16.5 6.7 14.3 9.2',
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
kind: 'path',
|
|
1265
|
+
d: 'M19 12a7 7 0 0 1-11.5 5.3',
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
kind: 'path',
|
|
1269
|
+
d: 'M10 19.5L7.5 17.3 9.7 14.8',
|
|
1270
|
+
},
|
|
1271
|
+
],
|
|
1272
|
+
},
|
|
1084
1273
|
'lightbulb': {
|
|
1085
1274
|
strokeWidth: 1.75,
|
|
1086
1275
|
elements: [
|
|
@@ -1385,6 +1574,37 @@ export const ICONS: Record<IconName, IconDef> = {
|
|
|
1385
1574
|
},
|
|
1386
1575
|
],
|
|
1387
1576
|
},
|
|
1577
|
+
'permission-denied': {
|
|
1578
|
+
strokeWidth: 1.75,
|
|
1579
|
+
elements: [
|
|
1580
|
+
{
|
|
1581
|
+
kind: 'path',
|
|
1582
|
+
d: 'M4 8h3l1.5-2h6L16 8h2a1 1 0 0 1 1 1v3',
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
kind: 'path',
|
|
1586
|
+
d: 'M3 9v9a1 1 0 0 0 1 1h8',
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
kind: 'circle',
|
|
1590
|
+
cx: 11,
|
|
1591
|
+
cy: 13.5,
|
|
1592
|
+
r: 2.6,
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
kind: 'rect',
|
|
1596
|
+
x: 15,
|
|
1597
|
+
y: 16,
|
|
1598
|
+
width: 6,
|
|
1599
|
+
height: 5,
|
|
1600
|
+
rx: 1,
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
kind: 'path',
|
|
1604
|
+
d: 'M16.5 16v-1.5a1.5 1.5 0 0 1 3 0V16',
|
|
1605
|
+
},
|
|
1606
|
+
],
|
|
1607
|
+
},
|
|
1388
1608
|
'phone': {
|
|
1389
1609
|
strokeWidth: 1.75,
|
|
1390
1610
|
elements: [
|
|
@@ -1700,6 +1920,44 @@ export const ICONS: Record<IconName, IconDef> = {
|
|
|
1700
1920
|
},
|
|
1701
1921
|
],
|
|
1702
1922
|
},
|
|
1923
|
+
'shutter-recording': {
|
|
1924
|
+
strokeWidth: 1.75,
|
|
1925
|
+
elements: [
|
|
1926
|
+
{
|
|
1927
|
+
kind: 'circle',
|
|
1928
|
+
cx: 12,
|
|
1929
|
+
cy: 12,
|
|
1930
|
+
r: 9,
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
kind: 'rect',
|
|
1934
|
+
x: 8,
|
|
1935
|
+
y: 8,
|
|
1936
|
+
width: 8,
|
|
1937
|
+
height: 8,
|
|
1938
|
+
rx: 2,
|
|
1939
|
+
fill: 'currentColor',
|
|
1940
|
+
},
|
|
1941
|
+
],
|
|
1942
|
+
},
|
|
1943
|
+
'shutter': {
|
|
1944
|
+
strokeWidth: 1.75,
|
|
1945
|
+
elements: [
|
|
1946
|
+
{
|
|
1947
|
+
kind: 'circle',
|
|
1948
|
+
cx: 12,
|
|
1949
|
+
cy: 12,
|
|
1950
|
+
r: 9,
|
|
1951
|
+
},
|
|
1952
|
+
{
|
|
1953
|
+
kind: 'circle',
|
|
1954
|
+
cx: 12,
|
|
1955
|
+
cy: 12,
|
|
1956
|
+
r: 6,
|
|
1957
|
+
fill: 'currentColor',
|
|
1958
|
+
},
|
|
1959
|
+
],
|
|
1960
|
+
},
|
|
1703
1961
|
'sort': {
|
|
1704
1962
|
strokeWidth: 1.75,
|
|
1705
1963
|
elements: [
|
|
@@ -2122,6 +2380,8 @@ export const ICON_NAMES: IconName[] = [
|
|
|
2122
2380
|
'arrow-left',
|
|
2123
2381
|
'arrow-right',
|
|
2124
2382
|
'arrow-up',
|
|
2383
|
+
'aspect-16-9',
|
|
2384
|
+
'aspect-4-3',
|
|
2125
2385
|
'attachment',
|
|
2126
2386
|
'bag-check',
|
|
2127
2387
|
'bell',
|
|
@@ -2132,6 +2392,8 @@ export const ICON_NAMES: IconName[] = [
|
|
|
2132
2392
|
'calculator',
|
|
2133
2393
|
'calendar-route',
|
|
2134
2394
|
'calendar',
|
|
2395
|
+
'camera-flip',
|
|
2396
|
+
'camera-off',
|
|
2135
2397
|
'camera',
|
|
2136
2398
|
'card',
|
|
2137
2399
|
'chat-star',
|
|
@@ -2153,18 +2415,23 @@ export const ICON_NAMES: IconName[] = [
|
|
|
2153
2415
|
'download',
|
|
2154
2416
|
'edit-pencil',
|
|
2155
2417
|
'edit',
|
|
2418
|
+
'error-alert',
|
|
2156
2419
|
'error',
|
|
2157
2420
|
'eye-off',
|
|
2158
2421
|
'eye',
|
|
2159
2422
|
'file',
|
|
2160
2423
|
'filter',
|
|
2161
2424
|
'flag',
|
|
2425
|
+
'flash-auto',
|
|
2426
|
+
'flash-off',
|
|
2427
|
+
'flash-on',
|
|
2162
2428
|
'grid',
|
|
2163
2429
|
'heart',
|
|
2164
2430
|
'home',
|
|
2165
2431
|
'image',
|
|
2166
2432
|
'info',
|
|
2167
2433
|
'keyboard',
|
|
2434
|
+
'lens-flip',
|
|
2168
2435
|
'lightbulb',
|
|
2169
2436
|
'list',
|
|
2170
2437
|
'location',
|
|
@@ -2180,6 +2447,7 @@ export const ICON_NAMES: IconName[] = [
|
|
|
2180
2447
|
'package',
|
|
2181
2448
|
'paperclip',
|
|
2182
2449
|
'pause',
|
|
2450
|
+
'permission-denied',
|
|
2183
2451
|
'phone',
|
|
2184
2452
|
'pin-search',
|
|
2185
2453
|
'play',
|
|
@@ -2196,6 +2464,8 @@ export const ICON_NAMES: IconName[] = [
|
|
|
2196
2464
|
'share',
|
|
2197
2465
|
'shelf-pay',
|
|
2198
2466
|
'shield-check',
|
|
2467
|
+
'shutter-recording',
|
|
2468
|
+
'shutter',
|
|
2199
2469
|
'sort',
|
|
2200
2470
|
'sound',
|
|
2201
2471
|
'spark',
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M10.3 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><path d="M12 9v4"></path><path d="M12 17h.01"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M4 9V5a1 1 0 0 1 1-1h4"></path><path d="M15 4h4a1 1 0 0 1 1 1v4"></path><path d="M20 15v4a1 1 0 0 1-1 1h-4"></path><path d="M9 20H5a1 1 0 0 1-1-1v-4"></path><path d="M12 9v4"></path><circle cx="12" cy="16.3" r=".95" fill="currentColor" stroke="none"></circle></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v14"></path><path d="M5 12l7 7 7-7"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M19 12H5"></path><path d="M12 5l-7 7 7 7"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"></path><path d="M13 5l7 7-7 7"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M12 19V5"></path><path d="M5 12l7-7 7 7"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M14 4l-9 9a4 4 0 0 0 6 6l9-9a3 3 0 0 0-4-4l-8 8a2 2 0 0 0 3 3l7-7"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M5 7h14l-1.2 13H6.2z"></path><path d="M9 7V5a3 3 0 0 1 6 0v2"></path><path d="M9 13l2 2 4-4"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M6 17V11a6 6 0 1 1 12 0v6l1.5 2H4.5z"></path><path d="M10 21a2 2 0 0 0 4 0"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="8" width="16" height="12" rx="3"></rect><path d="M12 4v4"></path><circle cx="12" cy="3" r="1"></circle><circle cx="9" cy="14" r="1" fill="currentColor"></circle><circle cx="15" cy="14" r="1" fill="currentColor"></circle></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="3.5" y="5" width="11" height="16" rx="1.5"></rect><rect x="7" y="3" width="4.5" height="3" rx="1"></rect><path d="M6.5 11h5M6.5 15h3"></path><rect x="15" y="13" width="6" height="6" rx=".5"></rect><path d="M15 16h6M18 13v6"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="10" width="16" height="11" rx="1"></rect><path d="M4 14h16"></path><path d="M9 6l3-3 3 3"></path><path d="M12 3v8"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="3" width="16" height="18" rx="1"></rect><path d="M9 7h2"></path><path d="M13 7h2"></path><path d="M9 11h2"></path><path d="M13 11h2"></path><path d="M9 15h2"></path><path d="M13 15h2"></path><path d="M10 21v-3h4v3"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="5" y="3" width="14" height="18" rx="2"></rect><rect x="8" y="6" width="8" height="3" rx=".5"></rect><circle cx="9" cy="13" r=".9" fill="currentColor" stroke="none"></circle><circle cx="12" cy="13" r=".9" fill="currentColor" stroke="none"></circle><circle cx="15" cy="13" r=".9" fill="currentColor" stroke="none"></circle><circle cx="9" cy="17" r=".9" fill="currentColor" stroke="none"></circle><circle cx="12" cy="17" r=".9" fill="currentColor" stroke="none"></circle><circle cx="15" cy="17" r=".9" fill="currentColor" stroke="none"></circle></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5" width="18" height="16" rx="1.5"></rect><path d="M3 10h18"></path><path d="M8 3v4M16 3v4"></path><path d="M6.5 15.5c1.5-2 3-2 4.5 0s3 2 4.5 0 1.5-2 3.5 0"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5" width="18" height="16" rx="2"></rect><path d="M3 10h18"></path><path d="M8 3v4"></path><path d="M16 3v4"></path></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M4 8h3l2-3h6l2 3h3a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2z"></path><circle cx="12" cy="13" r="3.5"></circle></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="6" width="18" height="13" rx="2"></rect><path d="M3 10h18"></path><path d="M7 15h3"></path></svg>
|