@newtonedev/components 0.1.6 → 0.1.7
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/index.cjs +243 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +243 -24
- package/dist/index.js.map +1 -1
- package/dist/primitives/Icon/Icon.d.ts +1 -1
- package/dist/primitives/Icon/Icon.d.ts.map +1 -1
- package/dist/primitives/Icon/Icon.types.d.ts +7 -12
- package/dist/primitives/Icon/Icon.types.d.ts.map +1 -1
- package/dist/registry/icons.d.ts +7 -0
- package/dist/registry/icons.d.ts.map +1 -0
- package/dist/registry/index.d.ts +2 -0
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/registry.d.ts.map +1 -1
- package/dist/registry/types.d.ts +1 -1
- package/dist/registry/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/src/primitives/Icon/Icon.tsx +4 -6
- package/src/primitives/Icon/Icon.types.ts +7 -14
- package/src/registry/icons.ts +111 -0
- package/src/registry/index.ts +3 -0
- package/src/registry/registry.ts +12 -17
- package/src/registry/types.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -44,8 +44,8 @@ export { Sidebar } from './composites/layout/Sidebar/Sidebar';
|
|
|
44
44
|
export type { SidebarProps } from './composites/layout/Sidebar/Sidebar.types';
|
|
45
45
|
export { Navbar } from './composites/layout/Navbar/Navbar';
|
|
46
46
|
export type { NavbarProps } from './composites/layout/Navbar/Navbar.types';
|
|
47
|
-
export type { CategoryMeta, VariantMeta, EditableProp, EditablePropOption, ComponentMeta, } from './registry';
|
|
48
|
-
export { CATEGORIES, COMPONENTS, getComponent, getCategory, getComponentsByCategory, generateComponentCode, } from './registry';
|
|
47
|
+
export type { CategoryMeta, VariantMeta, EditableProp, EditablePropOption, ComponentMeta, IconCatalogCategory, } from './registry';
|
|
48
|
+
export { CATEGORIES, COMPONENTS, getComponent, getCategory, getComponentsByCategory, generateComponentCode, ICON_CATALOG, } from './registry';
|
|
49
49
|
export { GOOGLE_FONTS, SYSTEM_FONTS } from './fonts/googleFonts';
|
|
50
50
|
export type { GoogleFontEntry, SystemFontEntry } from './fonts/googleFonts';
|
|
51
51
|
export { buildGoogleFontsUrl } from './fonts/buildGoogleFontsUrl';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC3E,YAAY,EACV,SAAS,EACT,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,UAAU,EACV,cAAc,GACf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAGxD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,GACf,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpE,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC5D,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAE3I,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,YAAY,EAAE,SAAS,EAAE,MAAM,qCAAqC,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AAE9E,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,YAAY,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAG3E,YAAY,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,mBAAmB,GACpB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,UAAU,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,uBAAuB,EACvB,qBAAqB,EACrB,YAAY,GACb,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACjE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAGlE,YAAY,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACX,IAAI,EACJ,KAAK,EACL,QAAQ,GACT,MAAM,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -774,9 +774,7 @@ function Icon({
|
|
|
774
774
|
opticalSize,
|
|
775
775
|
fill = 0,
|
|
776
776
|
color,
|
|
777
|
-
elevation = 1,
|
|
778
777
|
style,
|
|
779
|
-
onPress,
|
|
780
778
|
// Accessibility
|
|
781
779
|
accessibilityLabel,
|
|
782
780
|
// Testing & platform
|
|
@@ -784,7 +782,7 @@ function Icon({
|
|
|
784
782
|
nativeID,
|
|
785
783
|
ref
|
|
786
784
|
}) {
|
|
787
|
-
const tokens = useTokens(
|
|
785
|
+
const tokens = useTokens();
|
|
788
786
|
const iconStyle = useMemo(() => {
|
|
789
787
|
const fontSize = size ?? tokens.typography.size.base;
|
|
790
788
|
const getOpticalSize = (size2) => {
|
|
@@ -796,7 +794,8 @@ function Icon({
|
|
|
796
794
|
const opsz = opticalSize ?? getOpticalSize(fontSize);
|
|
797
795
|
const iconColor = color ?? srgbToHex(tokens.textPrimary.srgb);
|
|
798
796
|
const fontFamily = `Material Symbols ${tokens.icons.variant.charAt(0).toUpperCase() + tokens.icons.variant.slice(1)}`;
|
|
799
|
-
const
|
|
797
|
+
const fillValue = typeof fill === "boolean" ? fill ? 1 : 0 : fill;
|
|
798
|
+
const fontVariationSettings = `'FILL' ${fillValue}, 'wght' ${tokens.icons.weight}, 'GRAD' ${tokens.icons.grade}, 'opsz' ${opsz}`;
|
|
800
799
|
return {
|
|
801
800
|
fontFamily,
|
|
802
801
|
fontSize,
|
|
@@ -822,8 +821,7 @@ function Icon({
|
|
|
822
821
|
nativeID,
|
|
823
822
|
accessibilityLabel,
|
|
824
823
|
importantForAccessibility: accessibilityLabel ? "yes" : "no-hide-descendants",
|
|
825
|
-
style: iconStyle
|
|
826
|
-
onPress
|
|
824
|
+
style: iconStyle
|
|
827
825
|
},
|
|
828
826
|
name
|
|
829
827
|
);
|
|
@@ -3292,40 +3290,35 @@ var COMPONENTS = [
|
|
|
3292
3290
|
name: "Icon",
|
|
3293
3291
|
importName: "Icon",
|
|
3294
3292
|
categoryId: "primitives",
|
|
3295
|
-
description: "Material Symbols icon with size
|
|
3293
|
+
description: "Material Symbols icon with size and fill",
|
|
3296
3294
|
hasChildren: false,
|
|
3297
3295
|
variants: [
|
|
3298
|
-
{ id: "
|
|
3299
|
-
{ id: "settings", label: "Settings", props: { name: "settings" } },
|
|
3300
|
-
{ id: "check", label: "Check", props: { name: "check" } },
|
|
3301
|
-
{ id: "add", label: "Add", props: { name: "add" } },
|
|
3302
|
-
{ id: "delete", label: "Delete", props: { name: "delete" } },
|
|
3303
|
-
{ id: "search", label: "Search", props: { name: "search" } },
|
|
3304
|
-
{ id: "filled", label: "Filled Icon", props: { name: "favorite", fill: 1 } },
|
|
3305
|
-
{ id: "large", label: "Large Icon", props: { name: "star", size: 32 } }
|
|
3296
|
+
{ id: "default", label: "Default", props: { name: "add" } }
|
|
3306
3297
|
],
|
|
3307
3298
|
editableProps: [
|
|
3308
3299
|
{
|
|
3309
3300
|
name: "name",
|
|
3310
3301
|
label: "Icon Name",
|
|
3311
3302
|
control: "text",
|
|
3312
|
-
defaultValue: "
|
|
3303
|
+
defaultValue: "add"
|
|
3313
3304
|
},
|
|
3314
3305
|
{
|
|
3315
3306
|
name: "size",
|
|
3316
3307
|
label: "Size",
|
|
3317
|
-
control: "
|
|
3308
|
+
control: "discrete-slider",
|
|
3309
|
+
options: [
|
|
3310
|
+
{ label: "20", value: 20 },
|
|
3311
|
+
{ label: "24", value: 24 },
|
|
3312
|
+
{ label: "40", value: 40 },
|
|
3313
|
+
{ label: "48", value: 48 }
|
|
3314
|
+
],
|
|
3318
3315
|
defaultValue: 24
|
|
3319
3316
|
},
|
|
3320
3317
|
{
|
|
3321
3318
|
name: "fill",
|
|
3322
3319
|
label: "Fill",
|
|
3323
|
-
control: "
|
|
3324
|
-
|
|
3325
|
-
{ label: "Outlined", value: 0 },
|
|
3326
|
-
{ label: "Filled", value: 1 }
|
|
3327
|
-
],
|
|
3328
|
-
defaultValue: 0
|
|
3320
|
+
control: "toggle",
|
|
3321
|
+
defaultValue: false
|
|
3329
3322
|
}
|
|
3330
3323
|
]
|
|
3331
3324
|
},
|
|
@@ -3529,6 +3522,232 @@ function formatProp(name, value) {
|
|
|
3529
3522
|
return `${name}={${JSON.stringify(value)}}`;
|
|
3530
3523
|
}
|
|
3531
3524
|
|
|
3525
|
+
// src/registry/icons.ts
|
|
3526
|
+
var ICON_CATALOG = [
|
|
3527
|
+
{
|
|
3528
|
+
id: "navigation",
|
|
3529
|
+
label: "Navigation",
|
|
3530
|
+
icons: [
|
|
3531
|
+
"home",
|
|
3532
|
+
"menu",
|
|
3533
|
+
"close",
|
|
3534
|
+
"arrow_back",
|
|
3535
|
+
"arrow_forward",
|
|
3536
|
+
"arrow_upward",
|
|
3537
|
+
"arrow_downward",
|
|
3538
|
+
"chevron_left",
|
|
3539
|
+
"chevron_right",
|
|
3540
|
+
"expand_more",
|
|
3541
|
+
"expand_less",
|
|
3542
|
+
"first_page",
|
|
3543
|
+
"last_page",
|
|
3544
|
+
"more_vert",
|
|
3545
|
+
"more_horiz",
|
|
3546
|
+
"unfold_more",
|
|
3547
|
+
"unfold_less",
|
|
3548
|
+
"subdirectory_arrow_right"
|
|
3549
|
+
]
|
|
3550
|
+
},
|
|
3551
|
+
{
|
|
3552
|
+
id: "actions",
|
|
3553
|
+
label: "Actions",
|
|
3554
|
+
icons: [
|
|
3555
|
+
"search",
|
|
3556
|
+
"settings",
|
|
3557
|
+
"done",
|
|
3558
|
+
"add",
|
|
3559
|
+
"remove",
|
|
3560
|
+
"delete",
|
|
3561
|
+
"edit",
|
|
3562
|
+
"save",
|
|
3563
|
+
"refresh",
|
|
3564
|
+
"undo",
|
|
3565
|
+
"redo",
|
|
3566
|
+
"download",
|
|
3567
|
+
"upload",
|
|
3568
|
+
"share",
|
|
3569
|
+
"print",
|
|
3570
|
+
"content_copy",
|
|
3571
|
+
"content_paste",
|
|
3572
|
+
"open_in_new",
|
|
3573
|
+
"launch",
|
|
3574
|
+
"drag_indicator",
|
|
3575
|
+
"tune",
|
|
3576
|
+
"sort",
|
|
3577
|
+
"filter_list"
|
|
3578
|
+
]
|
|
3579
|
+
},
|
|
3580
|
+
{
|
|
3581
|
+
id: "communication",
|
|
3582
|
+
label: "Communication",
|
|
3583
|
+
icons: [
|
|
3584
|
+
"mail",
|
|
3585
|
+
"chat",
|
|
3586
|
+
"call",
|
|
3587
|
+
"notifications",
|
|
3588
|
+
"forum",
|
|
3589
|
+
"send",
|
|
3590
|
+
"inbox",
|
|
3591
|
+
"drafts",
|
|
3592
|
+
"mark_email_read",
|
|
3593
|
+
"contact_mail",
|
|
3594
|
+
"alternate_email",
|
|
3595
|
+
"comment",
|
|
3596
|
+
"chat_bubble",
|
|
3597
|
+
"sms",
|
|
3598
|
+
"voicemail"
|
|
3599
|
+
]
|
|
3600
|
+
},
|
|
3601
|
+
{
|
|
3602
|
+
id: "content",
|
|
3603
|
+
label: "Content",
|
|
3604
|
+
icons: [
|
|
3605
|
+
"add_circle",
|
|
3606
|
+
"remove_circle",
|
|
3607
|
+
"check_circle",
|
|
3608
|
+
"cancel",
|
|
3609
|
+
"flag",
|
|
3610
|
+
"bookmark",
|
|
3611
|
+
"star",
|
|
3612
|
+
"favorite",
|
|
3613
|
+
"thumb_up",
|
|
3614
|
+
"thumb_down",
|
|
3615
|
+
"push_pin",
|
|
3616
|
+
"link",
|
|
3617
|
+
"link_off",
|
|
3618
|
+
"bolt",
|
|
3619
|
+
"label",
|
|
3620
|
+
"inventory_2",
|
|
3621
|
+
"visibility",
|
|
3622
|
+
"visibility_off"
|
|
3623
|
+
]
|
|
3624
|
+
},
|
|
3625
|
+
{
|
|
3626
|
+
id: "media",
|
|
3627
|
+
label: "Media",
|
|
3628
|
+
icons: [
|
|
3629
|
+
"play_arrow",
|
|
3630
|
+
"pause",
|
|
3631
|
+
"stop",
|
|
3632
|
+
"skip_next",
|
|
3633
|
+
"skip_previous",
|
|
3634
|
+
"fast_forward",
|
|
3635
|
+
"fast_rewind",
|
|
3636
|
+
"replay",
|
|
3637
|
+
"shuffle",
|
|
3638
|
+
"repeat",
|
|
3639
|
+
"volume_up",
|
|
3640
|
+
"volume_off",
|
|
3641
|
+
"music_note",
|
|
3642
|
+
"image",
|
|
3643
|
+
"photo_camera",
|
|
3644
|
+
"videocam",
|
|
3645
|
+
"mic"
|
|
3646
|
+
]
|
|
3647
|
+
},
|
|
3648
|
+
{
|
|
3649
|
+
id: "file",
|
|
3650
|
+
label: "File & Folder",
|
|
3651
|
+
icons: [
|
|
3652
|
+
"folder",
|
|
3653
|
+
"folder_open",
|
|
3654
|
+
"create_new_folder",
|
|
3655
|
+
"description",
|
|
3656
|
+
"file_copy",
|
|
3657
|
+
"attach_file",
|
|
3658
|
+
"cloud",
|
|
3659
|
+
"cloud_upload",
|
|
3660
|
+
"cloud_download",
|
|
3661
|
+
"cloud_off",
|
|
3662
|
+
"storage",
|
|
3663
|
+
"snippet_folder"
|
|
3664
|
+
]
|
|
3665
|
+
},
|
|
3666
|
+
{
|
|
3667
|
+
id: "social",
|
|
3668
|
+
label: "Social & People",
|
|
3669
|
+
icons: [
|
|
3670
|
+
"person",
|
|
3671
|
+
"group",
|
|
3672
|
+
"person_add",
|
|
3673
|
+
"person_remove",
|
|
3674
|
+
"people",
|
|
3675
|
+
"face",
|
|
3676
|
+
"sentiment_satisfied",
|
|
3677
|
+
"sentiment_dissatisfied",
|
|
3678
|
+
"public",
|
|
3679
|
+
"workspace_premium",
|
|
3680
|
+
"emoji_events",
|
|
3681
|
+
"military_tech"
|
|
3682
|
+
]
|
|
3683
|
+
},
|
|
3684
|
+
{
|
|
3685
|
+
id: "alerts",
|
|
3686
|
+
label: "Alerts & Status",
|
|
3687
|
+
icons: [
|
|
3688
|
+
"error",
|
|
3689
|
+
"warning",
|
|
3690
|
+
"info",
|
|
3691
|
+
"help",
|
|
3692
|
+
"check_circle",
|
|
3693
|
+
"report",
|
|
3694
|
+
"new_releases",
|
|
3695
|
+
"notification_important",
|
|
3696
|
+
"priority_high",
|
|
3697
|
+
"verified",
|
|
3698
|
+
"shield",
|
|
3699
|
+
"security",
|
|
3700
|
+
"lock",
|
|
3701
|
+
"lock_open"
|
|
3702
|
+
]
|
|
3703
|
+
},
|
|
3704
|
+
{
|
|
3705
|
+
id: "device",
|
|
3706
|
+
label: "Device & Hardware",
|
|
3707
|
+
icons: [
|
|
3708
|
+
"phone_android",
|
|
3709
|
+
"computer",
|
|
3710
|
+
"tablet_mac",
|
|
3711
|
+
"watch",
|
|
3712
|
+
"keyboard",
|
|
3713
|
+
"mouse",
|
|
3714
|
+
"headphones",
|
|
3715
|
+
"speaker",
|
|
3716
|
+
"monitor",
|
|
3717
|
+
"devices",
|
|
3718
|
+
"memory",
|
|
3719
|
+
"battery_full",
|
|
3720
|
+
"wifi",
|
|
3721
|
+
"bluetooth",
|
|
3722
|
+
"usb",
|
|
3723
|
+
"dark_mode",
|
|
3724
|
+
"light_mode"
|
|
3725
|
+
]
|
|
3726
|
+
},
|
|
3727
|
+
{
|
|
3728
|
+
id: "editor",
|
|
3729
|
+
label: "Editor & Formatting",
|
|
3730
|
+
icons: [
|
|
3731
|
+
"format_bold",
|
|
3732
|
+
"format_italic",
|
|
3733
|
+
"format_underlined",
|
|
3734
|
+
"format_list_bulleted",
|
|
3735
|
+
"format_list_numbered",
|
|
3736
|
+
"format_quote",
|
|
3737
|
+
"format_align_left",
|
|
3738
|
+
"format_align_center",
|
|
3739
|
+
"format_align_right",
|
|
3740
|
+
"title",
|
|
3741
|
+
"text_fields",
|
|
3742
|
+
"code",
|
|
3743
|
+
"palette",
|
|
3744
|
+
"color_lens",
|
|
3745
|
+
"brush",
|
|
3746
|
+
"auto_fix_high"
|
|
3747
|
+
]
|
|
3748
|
+
}
|
|
3749
|
+
];
|
|
3750
|
+
|
|
3532
3751
|
// src/fonts/googleFonts.ts
|
|
3533
3752
|
var GOOGLE_FONTS = [
|
|
3534
3753
|
// Sans-serif
|
|
@@ -3595,6 +3814,6 @@ var SYSTEM_FONTS = [
|
|
|
3595
3814
|
}
|
|
3596
3815
|
];
|
|
3597
3816
|
|
|
3598
|
-
export { ACCENT_DEFAULTS, AppShell, Button, CATEGORIES, COMPONENTS, Card, ColorScaleSlider, DEFAULT_THEME_CONFIG, ERROR_DEFAULTS, Frame, GOOGLE_FONTS, HueSlider, Icon, NEUTRAL_DEFAULTS, Navbar, NewtoneProvider, Popover, SUCCESS_DEFAULTS, SYSTEM_FONTS, Select, Sidebar, Slider, Text2 as Text, TextInput, Toggle, WARNING_DEFAULTS, Wrapper, buildGoogleFontsUrl, computeTokens, generateComponentCode, getCategory, getComponent, getComponentsByCategory, isOptionGroup, useFocusVisible, useFrameContext, useNewtoneTheme, usePopover, useTokens };
|
|
3817
|
+
export { ACCENT_DEFAULTS, AppShell, Button, CATEGORIES, COMPONENTS, Card, ColorScaleSlider, DEFAULT_THEME_CONFIG, ERROR_DEFAULTS, Frame, GOOGLE_FONTS, HueSlider, ICON_CATALOG, Icon, NEUTRAL_DEFAULTS, Navbar, NewtoneProvider, Popover, SUCCESS_DEFAULTS, SYSTEM_FONTS, Select, Sidebar, Slider, Text2 as Text, TextInput, Toggle, WARNING_DEFAULTS, Wrapper, buildGoogleFontsUrl, computeTokens, generateComponentCode, getCategory, getComponent, getComponentsByCategory, isOptionGroup, useFocusVisible, useFrameContext, useNewtoneTheme, usePopover, useTokens };
|
|
3599
3818
|
//# sourceMappingURL=index.js.map
|
|
3600
3819
|
//# sourceMappingURL=index.js.map
|