ferns-ui 0.21.3 → 0.22.1

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/Button.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { ButtonColor, Color, GestaltIconName, IconPrefix } from "./Common";
2
+ import { ButtonColor, Color, IconName, IconPrefix } from "./Common";
3
3
  export interface ButtonProps {
4
4
  children?: React.ReactElement;
5
5
  text: string;
@@ -10,7 +10,7 @@ export interface ButtonProps {
10
10
  type?: "solid" | "ghost" | "outline";
11
11
  loading?: boolean;
12
12
  onClick: any;
13
- icon?: GestaltIconName | string;
13
+ icon?: IconName;
14
14
  iconPrefix?: IconPrefix;
15
15
  iconColor?: ButtonColor | Color;
16
16
  withConfirmation?: boolean;
package/dist/Common.d.ts CHANGED
@@ -136,8 +136,8 @@ export interface OnChangeResult {
136
136
  value: string;
137
137
  }
138
138
  export declare type OnChangeCallback = (result: OnChangeResult) => void;
139
- export declare type IconName = "heart" | "chevron-left" | "hat-chef" | "book" | "list-alt" | "carrot" | "comment" | "user-circle" | "fire" | "chart-pie" | "knife-kitchen" | "oven" | "clock" | "utensils-alt" | "search" | "chevron-right" | "plus" | "ellipsis-v" | "paper-plane" | "exclamation-circle" | "edit";
140
- export declare type GestaltIconName = "add" | "add-circle" | "add-pin" | "arrow-back" | "arrow-circle-forward" | "arrow-down" | "arrow-forward" | "arrow-up" | "bell" | "camera" | "cancel" | "check" | "check-circle" | "circle-outline" | "clear" | "clock" | "cog" | "compass" | "dash" | "edit" | "ellipsis" | "ellipsis-circle-outline" | "facebook" | "face-happy" | "face-sad" | "face-smiley" | "filter" | "flag" | "flashlight" | "globe" | "graph-bar" | "handle" | "heart" | "heart-broken" | "knoop" | "lightbulb" | "link" | "location" | "lock" | "menu" | "move" | "pause" | "people" | "person" | "person-add" | "pin" | "pin-hide" | "pinterest" | "play" | "question-mark" | "remove" | "report" | "search" | "shopping-bag" | "smiley" | "smiley-outline" | "send" | "share" | "sound" | "speech" | "speech-ellipsis" | "tag";
139
+ export declare type IconName = FontAwesome5IconName;
140
+ export declare type FontAwesome5IconName = "500px" | "accessible-icon" | "accusoft" | "acquisitions-incorporated" | "ad" | "address-book" | "address-card" | "adjust" | "adn" | "adversal" | "affiliatetheme" | "air-freshener" | "airbnb" | "algolia" | "align-center" | "align-justify" | "align-left" | "align-right" | "alipay" | "allergies" | "amazon" | "amazon-pay" | "ambulance" | "american-sign-language-interpreting" | "amilia" | "anchor" | "android" | "angellist" | "angle-double-down" | "angle-double-left" | "angle-double-right" | "angle-double-up" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "angry" | "angrycreative" | "angular" | "ankh" | "app-store" | "app-store-ios" | "apper" | "apple" | "apple-alt" | "apple-pay" | "archive" | "archway" | "arrow-alt-circle-down" | "arrow-alt-circle-left" | "arrow-alt-circle-right" | "arrow-alt-circle-up" | "arrow-circle-down" | "arrow-circle-left" | "arrow-circle-right" | "arrow-circle-up" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "arrows-alt" | "arrows-alt-h" | "arrows-alt-v" | "artstation" | "assistive-listening-systems" | "asterisk" | "asymmetrik" | "at" | "atlas" | "atlassian" | "atom" | "audible" | "audio-description" | "autoprefixer" | "avianex" | "aviato" | "award" | "aws" | "baby" | "baby-carriage" | "backspace" | "backward" | "bacon" | "bacteria" | "bacterium" | "bahai" | "balance-scale" | "balance-scale-left" | "balance-scale-right" | "ban" | "band-aid" | "bandcamp" | "barcode" | "bars" | "baseball-ball" | "basketball-ball" | "bath" | "battery-empty" | "battery-full" | "battery-half" | "battery-quarter" | "battery-three-quarters" | "battle-net" | "bed" | "beer" | "behance" | "behance-square" | "bell" | "bell-slash" | "bezier-curve" | "bible" | "bicycle" | "biking" | "bimobject" | "binoculars" | "biohazard" | "birthday-cake" | "bitbucket" | "bitcoin" | "bity" | "black-tie" | "blackberry" | "blender" | "blender-phone" | "blind" | "blog" | "blogger" | "blogger-b" | "bluetooth" | "bluetooth-b" | "bold" | "bolt" | "bomb" | "bone" | "bong" | "book" | "book-dead" | "book-medical" | "book-open" | "book-reader" | "bookmark" | "bootstrap" | "border-all" | "border-none" | "border-style" | "bowling-ball" | "box" | "box-open" | "box-tissue" | "boxes" | "braille" | "brain" | "bread-slice" | "briefcase" | "briefcase-medical" | "broadcast-tower" | "broom" | "brush" | "btc" | "buffer" | "bug" | "building" | "bullhorn" | "bullseye" | "burn" | "buromobelexperte" | "bus" | "bus-alt" | "business-time" | "buy-n-large" | "buysellads" | "calculator" | "calendar" | "calendar-alt" | "calendar-check" | "calendar-day" | "calendar-minus" | "calendar-plus" | "calendar-times" | "calendar-week" | "camera" | "camera-retro" | "campground" | "canadian-maple-leaf" | "candy-cane" | "cannabis" | "capsules" | "car" | "car-alt" | "car-battery" | "car-crash" | "car-side" | "caravan" | "caret-down" | "caret-left" | "caret-right" | "caret-square-down" | "caret-square-left" | "caret-square-right" | "caret-square-up" | "caret-up" | "carrot" | "cart-arrow-down" | "cart-plus" | "cash-register" | "cat" | "cc-amazon-pay" | "cc-amex" | "cc-apple-pay" | "cc-diners-club" | "cc-discover" | "cc-jcb" | "cc-mastercard" | "cc-paypal" | "cc-stripe" | "cc-visa" | "centercode" | "centos" | "certificate" | "chair" | "chalkboard" | "chalkboard-teacher" | "charging-station" | "chart-area" | "chart-bar" | "chart-line" | "chart-pie" | "check" | "check-circle" | "check-double" | "check-square" | "cheese" | "chess" | "chess-bishop" | "chess-board" | "chess-king" | "chess-knight" | "chess-pawn" | "chess-queen" | "chess-rook" | "chevron-circle-down" | "chevron-circle-left" | "chevron-circle-right" | "chevron-circle-up" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "child" | "chrome" | "chromecast" | "church" | "circle" | "circle-notch" | "city" | "clinic-medical" | "clipboard" | "clipboard-check" | "clipboard-list" | "clock" | "clone" | "closed-captioning" | "cloud" | "cloud-download-alt" | "cloud-meatball" | "cloud-moon" | "cloud-moon-rain" | "cloud-rain" | "cloud-showers-heavy" | "cloud-sun" | "cloud-sun-rain" | "cloud-upload-alt" | "cloudflare" | "cloudscale" | "cloudsmith" | "cloudversify" | "cocktail" | "code" | "code-branch" | "codepen" | "codiepie" | "coffee" | "cog" | "cogs" | "coins" | "columns" | "comment" | "comment-alt" | "comment-dollar" | "comment-dots" | "comment-medical" | "comment-slash" | "comments" | "comments-dollar" | "compact-disc" | "compass" | "compress" | "compress-alt" | "compress-arrows-alt" | "concierge-bell" | "confluence" | "connectdevelop" | "contao" | "cookie" | "cookie-bite" | "copy" | "copyright" | "cotton-bureau" | "couch" | "cpanel" | "creative-commons" | "creative-commons-by" | "creative-commons-nc" | "creative-commons-nc-eu" | "creative-commons-nc-jp" | "creative-commons-nd" | "creative-commons-pd" | "creative-commons-pd-alt" | "creative-commons-remix" | "creative-commons-sa" | "creative-commons-sampling" | "creative-commons-sampling-plus" | "creative-commons-share" | "creative-commons-zero" | "credit-card" | "critical-role" | "crop" | "crop-alt" | "cross" | "crosshairs" | "crow" | "crown" | "crutch" | "css3" | "css3-alt" | "cube" | "cubes" | "cut" | "cuttlefish" | "d-and-d" | "d-and-d-beyond" | "dailymotion" | "dashcube" | "database" | "deaf" | "deezer" | "delicious" | "democrat" | "deploydog" | "deskpro" | "desktop" | "dev" | "deviantart" | "dharmachakra" | "dhl" | "diagnoses" | "diaspora" | "dice" | "dice-d20" | "dice-d6" | "dice-five" | "dice-four" | "dice-one" | "dice-six" | "dice-three" | "dice-two" | "digg" | "digital-ocean" | "digital-tachograph" | "directions" | "discord" | "discourse" | "disease" | "divide" | "dizzy" | "dna" | "dochub" | "docker" | "dog" | "dollar-sign" | "dolly" | "dolly-flatbed" | "donate" | "door-closed" | "door-open" | "dot-circle" | "dove" | "download" | "draft2digital" | "drafting-compass" | "dragon" | "draw-polygon" | "dribbble" | "dribbble-square" | "dropbox" | "drum" | "drum-steelpan" | "drumstick-bite" | "drupal" | "dumbbell" | "dumpster" | "dumpster-fire" | "dungeon" | "dyalog" | "earlybirds" | "ebay" | "edge" | "edge-legacy" | "edit" | "egg" | "eject" | "elementor" | "ellipsis-h" | "ellipsis-v" | "ello" | "ember" | "empire" | "envelope" | "envelope-open" | "envelope-open-text" | "envelope-square" | "envira" | "equals" | "eraser" | "erlang" | "ethereum" | "ethernet" | "etsy" | "euro-sign" | "evernote" | "exchange-alt" | "exclamation" | "exclamation-circle" | "exclamation-triangle" | "expand" | "expand-alt" | "expand-arrows-alt" | "expeditedssl" | "external-link-alt" | "external-link-square-alt" | "eye" | "eye-dropper" | "eye-slash" | "facebook" | "facebook-f" | "facebook-messenger" | "facebook-square" | "fan" | "fantasy-flight-games" | "fast-backward" | "fast-forward" | "faucet" | "fax" | "feather" | "feather-alt" | "fedex" | "fedora" | "female" | "fighter-jet" | "figma" | "file" | "file-alt" | "file-archive" | "file-audio" | "file-code" | "file-contract" | "file-csv" | "file-download" | "file-excel" | "file-export" | "file-image" | "file-import" | "file-invoice" | "file-invoice-dollar" | "file-medical" | "file-medical-alt" | "file-pdf" | "file-powerpoint" | "file-prescription" | "file-signature" | "file-upload" | "file-video" | "file-word" | "fill" | "fill-drip" | "film" | "filter" | "fingerprint" | "fire" | "fire-alt" | "fire-extinguisher" | "firefox" | "firefox-browser" | "first-aid" | "first-order" | "first-order-alt" | "firstdraft" | "fish" | "fist-raised" | "flag" | "flag-checkered" | "flag-usa" | "flask" | "flickr" | "flipboard" | "flushed" | "fly" | "folder" | "folder-minus" | "folder-open" | "folder-plus" | "font" | "font-awesome" | "font-awesome-alt" | "font-awesome-flag" | "font-awesome-logo-full" | "fonticons" | "fonticons-fi" | "football-ball" | "fort-awesome" | "fort-awesome-alt" | "forumbee" | "forward" | "foursquare" | "free-code-camp" | "freebsd" | "frog" | "frown" | "frown-open" | "fulcrum" | "funnel-dollar" | "futbol" | "galactic-republic" | "galactic-senate" | "gamepad" | "gas-pump" | "gavel" | "gem" | "genderless" | "get-pocket" | "gg" | "gg-circle" | "ghost" | "gift" | "gifts" | "git" | "git-alt" | "git-square" | "github" | "github-alt" | "github-square" | "gitkraken" | "gitlab" | "gitter" | "glass-cheers" | "glass-martini" | "glass-martini-alt" | "glass-whiskey" | "glasses" | "glide" | "glide-g" | "globe" | "globe-africa" | "globe-americas" | "globe-asia" | "globe-europe" | "gofore" | "golf-ball" | "goodreads" | "goodreads-g" | "google" | "google-drive" | "google-pay" | "google-play" | "google-plus" | "google-plus-g" | "google-plus-square" | "google-wallet" | "gopuram" | "graduation-cap" | "gratipay" | "grav" | "greater-than" | "greater-than-equal" | "grimace" | "grin" | "grin-alt" | "grin-beam" | "grin-beam-sweat" | "grin-hearts" | "grin-squint" | "grin-squint-tears" | "grin-stars" | "grin-tears" | "grin-tongue" | "grin-tongue-squint" | "grin-tongue-wink" | "grin-wink" | "grip-horizontal" | "grip-lines" | "grip-lines-vertical" | "grip-vertical" | "gripfire" | "grunt" | "guilded" | "guitar" | "gulp" | "h-square" | "hacker-news" | "hacker-news-square" | "hackerrank" | "hamburger" | "hammer" | "hamsa" | "hand-holding" | "hand-holding-heart" | "hand-holding-medical" | "hand-holding-usd" | "hand-holding-water" | "hand-lizard" | "hand-middle-finger" | "hand-paper" | "hand-peace" | "hand-point-down" | "hand-point-left" | "hand-point-right" | "hand-point-up" | "hand-pointer" | "hand-rock" | "hand-scissors" | "hand-sparkles" | "hand-spock" | "hands" | "hands-helping" | "hands-wash" | "handshake" | "handshake-alt-slash" | "handshake-slash" | "hanukiah" | "hard-hat" | "hashtag" | "hat-cowboy" | "hat-cowboy-side" | "hat-wizard" | "hdd" | "head-side-cough" | "head-side-cough-slash" | "head-side-mask" | "head-side-virus" | "heading" | "headphones" | "headphones-alt" | "headset" | "heart" | "heart-broken" | "heartbeat" | "helicopter" | "highlighter" | "hiking" | "hippo" | "hips" | "hire-a-helper" | "history" | "hive" | "hockey-puck" | "holly-berry" | "home" | "hooli" | "hornbill" | "horse" | "horse-head" | "hospital" | "hospital-alt" | "hospital-symbol" | "hospital-user" | "hot-tub" | "hotdog" | "hotel" | "hotjar" | "hourglass" | "hourglass-end" | "hourglass-half" | "hourglass-start" | "house-damage" | "house-user" | "houzz" | "hryvnia" | "html5" | "hubspot" | "i-cursor" | "ice-cream" | "icicles" | "icons" | "id-badge" | "id-card" | "id-card-alt" | "ideal" | "igloo" | "image" | "images" | "imdb" | "inbox" | "indent" | "industry" | "infinity" | "info" | "info-circle" | "innosoft" | "instagram" | "instagram-square" | "instalod" | "intercom" | "internet-explorer" | "invision" | "ioxhost" | "italic" | "itch-io" | "itunes" | "itunes-note" | "java" | "jedi" | "jedi-order" | "jenkins" | "jira" | "joget" | "joint" | "joomla" | "journal-whills" | "js" | "js-square" | "jsfiddle" | "kaaba" | "kaggle" | "key" | "keybase" | "keyboard" | "keycdn" | "khanda" | "kickstarter" | "kickstarter-k" | "kiss" | "kiss-beam" | "kiss-wink-heart" | "kiwi-bird" | "korvue" | "landmark" | "language" | "laptop" | "laptop-code" | "laptop-house" | "laptop-medical" | "laravel" | "lastfm" | "lastfm-square" | "laugh" | "laugh-beam" | "laugh-squint" | "laugh-wink" | "layer-group" | "leaf" | "leanpub" | "lemon" | "less" | "less-than" | "less-than-equal" | "level-down-alt" | "level-up-alt" | "life-ring" | "lightbulb" | "line" | "link" | "linkedin" | "linkedin-in" | "linode" | "linux" | "lira-sign" | "list" | "list-alt" | "list-ol" | "list-ul" | "location-arrow" | "lock" | "lock-open" | "long-arrow-alt-down" | "long-arrow-alt-left" | "long-arrow-alt-right" | "long-arrow-alt-up" | "low-vision" | "luggage-cart" | "lungs" | "lungs-virus" | "lyft" | "magento" | "magic" | "magnet" | "mail-bulk" | "mailchimp" | "male" | "mandalorian" | "map" | "map-marked" | "map-marked-alt" | "map-marker" | "map-marker-alt" | "map-pin" | "map-signs" | "markdown" | "marker" | "mars" | "mars-double" | "mars-stroke" | "mars-stroke-h" | "mars-stroke-v" | "mask" | "mastodon" | "maxcdn" | "mdb" | "medal" | "medapps" | "medium" | "medium-m" | "medkit" | "medrt" | "meetup" | "megaport" | "meh" | "meh-blank" | "meh-rolling-eyes" | "memory" | "mendeley" | "menorah" | "mercury" | "meteor" | "microblog" | "microchip" | "microphone" | "microphone-alt" | "microphone-alt-slash" | "microphone-slash" | "microscope" | "microsoft" | "minus" | "minus-circle" | "minus-square" | "mitten" | "mix" | "mixcloud" | "mixer" | "mizuni" | "mobile" | "mobile-alt" | "modx" | "monero" | "money-bill" | "money-bill-alt" | "money-bill-wave" | "money-bill-wave-alt" | "money-check" | "money-check-alt" | "monument" | "moon" | "mortar-pestle" | "mosque" | "motorcycle" | "mountain" | "mouse" | "mouse-pointer" | "mug-hot" | "music" | "napster" | "neos" | "network-wired" | "neuter" | "newspaper" | "nimblr" | "node" | "node-js" | "not-equal" | "notes-medical" | "npm" | "ns8" | "nutritionix" | "object-group" | "object-ungroup" | "octopus-deploy" | "odnoklassniki" | "odnoklassniki-square" | "oil-can" | "old-republic" | "om" | "opencart" | "openid" | "opera" | "optin-monster" | "orcid" | "osi" | "otter" | "outdent" | "page4" | "pagelines" | "pager" | "paint-brush" | "paint-roller" | "palette" | "palfed" | "pallet" | "paper-plane" | "paperclip" | "parachute-box" | "paragraph" | "parking" | "passport" | "pastafarianism" | "paste" | "patreon" | "pause" | "pause-circle" | "paw" | "paypal" | "peace" | "pen" | "pen-alt" | "pen-fancy" | "pen-nib" | "pen-square" | "pencil-alt" | "pencil-ruler" | "penny-arcade" | "people-arrows" | "people-carry" | "pepper-hot" | "perbyte" | "percent" | "percentage" | "periscope" | "person-booth" | "phabricator" | "phoenix-framework" | "phoenix-squadron" | "phone" | "phone-alt" | "phone-slash" | "phone-square" | "phone-square-alt" | "phone-volume" | "photo-video" | "php" | "pied-piper" | "pied-piper-alt" | "pied-piper-hat" | "pied-piper-pp" | "pied-piper-square" | "piggy-bank" | "pills" | "pinterest" | "pinterest-p" | "pinterest-square" | "pizza-slice" | "place-of-worship" | "plane" | "plane-arrival" | "plane-departure" | "plane-slash" | "play" | "play-circle" | "playstation" | "plug" | "plus" | "plus-circle" | "plus-square" | "podcast" | "poll" | "poll-h" | "poo" | "poo-storm" | "poop" | "portrait" | "pound-sign" | "power-off" | "pray" | "praying-hands" | "prescription" | "prescription-bottle" | "prescription-bottle-alt" | "print" | "procedures" | "product-hunt" | "project-diagram" | "pump-medical" | "pump-soap" | "pushed" | "puzzle-piece" | "python" | "qq" | "qrcode" | "question" | "question-circle" | "quidditch" | "quinscape" | "quora" | "quote-left" | "quote-right" | "quran" | "r-project" | "radiation" | "radiation-alt" | "rainbow" | "random" | "raspberry-pi" | "ravelry" | "react" | "reacteurope" | "readme" | "rebel" | "receipt" | "record-vinyl" | "recycle" | "red-river" | "reddit" | "reddit-alien" | "reddit-square" | "redhat" | "redo" | "redo-alt" | "registered" | "remove-format" | "renren" | "reply" | "reply-all" | "replyd" | "republican" | "researchgate" | "resolving" | "restroom" | "retweet" | "rev" | "ribbon" | "ring" | "road" | "robot" | "rocket" | "rocketchat" | "rockrms" | "route" | "rss" | "rss-square" | "ruble-sign" | "ruler" | "ruler-combined" | "ruler-horizontal" | "ruler-vertical" | "running" | "rupee-sign" | "rust" | "sad-cry" | "sad-tear" | "safari" | "salesforce" | "sass" | "satellite" | "satellite-dish" | "save" | "schlix" | "school" | "screwdriver" | "scribd" | "scroll" | "sd-card" | "search" | "search-dollar" | "search-location" | "search-minus" | "search-plus" | "searchengin" | "seedling" | "sellcast" | "sellsy" | "server" | "servicestack" | "shapes" | "share" | "share-alt" | "share-alt-square" | "share-square" | "shekel-sign" | "shield-alt" | "shield-virus" | "ship" | "shipping-fast" | "shirtsinbulk" | "shoe-prints" | "shopify" | "shopping-bag" | "shopping-basket" | "shopping-cart" | "shopware" | "shower" | "shuttle-van" | "sign" | "sign-in-alt" | "sign-language" | "sign-out-alt" | "signal" | "signature" | "sim-card" | "simplybuilt" | "sink" | "sistrix" | "sitemap" | "sith" | "skating" | "sketch" | "skiing" | "skiing-nordic" | "skull" | "skull-crossbones" | "skyatlas" | "skype" | "slack" | "slack-hash" | "slash" | "sleigh" | "sliders-h" | "slideshare" | "smile" | "smile-beam" | "smile-wink" | "smog" | "smoking" | "smoking-ban" | "sms" | "snapchat" | "snapchat-ghost" | "snapchat-square" | "snowboarding" | "snowflake" | "snowman" | "snowplow" | "soap" | "socks" | "solar-panel" | "sort" | "sort-alpha-down" | "sort-alpha-down-alt" | "sort-alpha-up" | "sort-alpha-up-alt" | "sort-amount-down" | "sort-amount-down-alt" | "sort-amount-up" | "sort-amount-up-alt" | "sort-down" | "sort-numeric-down" | "sort-numeric-down-alt" | "sort-numeric-up" | "sort-numeric-up-alt" | "sort-up" | "soundcloud" | "sourcetree" | "spa" | "space-shuttle" | "speakap" | "speaker-deck" | "spell-check" | "spider" | "spinner" | "splotch" | "spotify" | "spray-can" | "square" | "square-full" | "square-root-alt" | "squarespace" | "stack-exchange" | "stack-overflow" | "stackpath" | "stamp" | "star" | "star-and-crescent" | "star-half" | "star-half-alt" | "star-of-david" | "star-of-life" | "staylinked" | "steam" | "steam-square" | "steam-symbol" | "step-backward" | "step-forward" | "stethoscope" | "sticker-mule" | "sticky-note" | "stop" | "stop-circle" | "stopwatch" | "stopwatch-20" | "store" | "store-alt" | "store-alt-slash" | "store-slash" | "strava" | "stream" | "street-view" | "strikethrough" | "stripe" | "stripe-s" | "stroopwafel" | "studiovinari" | "stumbleupon" | "stumbleupon-circle" | "subscript" | "subway" | "suitcase" | "suitcase-rolling" | "sun" | "superpowers" | "superscript" | "supple" | "surprise" | "suse" | "swatchbook" | "swift" | "swimmer" | "swimming-pool" | "symfony" | "synagogue" | "sync" | "sync-alt" | "syringe" | "table" | "table-tennis" | "tablet" | "tablet-alt" | "tablets" | "tachometer-alt" | "tag" | "tags" | "tape" | "tasks" | "taxi" | "teamspeak" | "teeth" | "teeth-open" | "telegram" | "telegram-plane" | "temperature-high" | "temperature-low" | "tencent-weibo" | "tenge" | "terminal" | "text-height" | "text-width" | "th" | "th-large" | "th-list" | "the-red-yeti" | "theater-masks" | "themeco" | "themeisle" | "thermometer" | "thermometer-empty" | "thermometer-full" | "thermometer-half" | "thermometer-quarter" | "thermometer-three-quarters" | "think-peaks" | "thumbs-down" | "thumbs-up" | "thumbtack" | "ticket-alt" | "tiktok" | "times" | "times-circle" | "tint" | "tint-slash" | "tired" | "toggle-off" | "toggle-on" | "toilet" | "toilet-paper" | "toilet-paper-slash" | "toolbox" | "tools" | "tooth" | "torah" | "torii-gate" | "tractor" | "trade-federation" | "trademark" | "traffic-light" | "trailer" | "train" | "tram" | "transgender" | "transgender-alt" | "trash" | "trash-alt" | "trash-restore" | "trash-restore-alt" | "tree" | "trello" | "tripadvisor" | "trophy" | "truck" | "truck-loading" | "truck-monster" | "truck-moving" | "truck-pickup" | "tshirt" | "tty" | "tumblr" | "tumblr-square" | "tv" | "twitch" | "twitter" | "twitter-square" | "typo3" | "uber" | "ubuntu" | "uikit" | "umbraco" | "umbrella" | "umbrella-beach" | "uncharted" | "underline" | "undo" | "undo-alt" | "uniregistry" | "unity" | "universal-access" | "university" | "unlink" | "unlock" | "unlock-alt" | "unsplash" | "untappd" | "upload" | "ups" | "usb" | "user" | "user-alt" | "user-alt-slash" | "user-astronaut" | "user-check" | "user-circle" | "user-clock" | "user-cog" | "user-edit" | "user-friends" | "user-graduate" | "user-injured" | "user-lock" | "user-md" | "user-minus" | "user-ninja" | "user-nurse" | "user-plus" | "user-secret" | "user-shield" | "user-slash" | "user-tag" | "user-tie" | "user-times" | "users" | "users-cog" | "users-slash" | "usps" | "ussunnah" | "utensil-spoon" | "utensils" | "vaadin" | "vector-square" | "venus" | "venus-double" | "venus-mars" | "vest" | "vest-patches" | "viacoin" | "viadeo" | "viadeo-square" | "vial" | "vials" | "viber" | "video" | "video-slash" | "vihara" | "vimeo" | "vimeo-square" | "vimeo-v" | "vine" | "virus" | "virus-slash" | "viruses" | "vk" | "vnv" | "voicemail" | "volleyball-ball" | "volume-down" | "volume-mute" | "volume-off" | "volume-up" | "vote-yea" | "vr-cardboard" | "vuejs" | "walking" | "wallet" | "warehouse" | "watchman-monitoring" | "water" | "wave-square" | "waze" | "weebly" | "weibo" | "weight" | "weight-hanging" | "weixin" | "whatsapp" | "whatsapp-square" | "wheelchair" | "whmcs" | "wifi" | "wikipedia-w" | "wind" | "window-close" | "window-maximize" | "window-minimize" | "window-restore" | "windows" | "wine-bottle" | "wine-glass" | "wine-glass-alt" | "wix" | "wizards-of-the-coast" | "wodu" | "wolf-pack-battalion" | "won-sign" | "wordpress" | "wordpress-simple" | "wpbeginner" | "wpexplorer" | "wpforms" | "wpressr" | "wrench" | "x-ray" | "xbox" | "xing" | "xing-square" | "y-combinator" | "yahoo" | "yammer" | "yandex" | "yandex-international" | "yarn" | "yelp" | "yen-sign" | "yin-yang" | "yoast" | "youtube" | "youtube-square" | "zhihu";
141
141
  export declare type AlignContent = "start" | "end" | "center" | "between" | "around" | "stretch";
142
142
  export declare type AlignSelf = "auto" | "start" | "end" | "center" | "baseline" | "stretch";
143
143
  export declare type AlignItems = "start" | "end" | "center" | "baseline" | "stretch";
@@ -154,7 +154,7 @@ export declare function getSectionColor(section: "Breakfast" | "Lunch" | "Dinner
154
154
  export declare type TextSize = "sm" | "md" | "lg";
155
155
  export declare type TextColor = "blue" | "darkGray" | "eggplant" | "gray" | "green" | "lightGray" | "maroon" | "midnight" | "navy" | "olive" | "orange" | "orchid" | "pine" | "purple" | "red" | "watermelon" | "white";
156
156
  export declare type ButtonColor = "blue" | "gray" | "red" | "white" | "primary" | "secondary" | "accent" | "tertiary";
157
- export declare type IconPrefix = "far" | "fal" | "fas" | "fab";
157
+ export declare type IconPrefix = "far" | "fas";
158
158
  export interface TextProps {
159
159
  align?: "left" | "right" | "center" | "justify";
160
160
  children?: React.ReactNode;
@@ -316,7 +316,7 @@ export interface FaceBookButtonProps {
316
316
  }
317
317
  export interface IconProps {
318
318
  prefix?: IconPrefix;
319
- name: string;
319
+ name: IconName;
320
320
  color?: AllColors;
321
321
  size?: IconSize;
322
322
  iconStyle?: any;
@@ -324,7 +324,7 @@ export interface IconProps {
324
324
  }
325
325
  export interface IconButtonProps {
326
326
  prefix?: IconPrefix;
327
- icon: GestaltIconName | string;
327
+ icon: IconName;
328
328
  accessibilityLabel: string;
329
329
  iconColor: "darkGray" | ButtonColor | ThemeColor | Color;
330
330
  onClick: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"Common.js","sourceRoot":"","sources":["../src/Common.ts"],"names":[],"mappings":"AAkVA,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC;AAmBzB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAe,EAAE,EAAE;IAClD,OAAO;QACL,EAAE,EAAE,CAAC;QACL,EAAE,EAAE,EAAE;QACN,EAAE,EAAE,EAAE;QACN,EAAE,EAAE,EAAE;QACN,EAAE,EAAE,EAAE;KACP,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC;AAClB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAI,GAAG,EAAE,EAAY,EAAE;IACtD,IAAI,QAAkB,CAAC;IACvB,IAAI,IAAI,GAAG,CAAC,EAAE;QACZ,QAAQ,GAAG,IAAI,CAAC;KACjB;SAAM,IAAI,IAAI,GAAG,EAAE,EAAE;QACpB,QAAQ,GAAG,IAAI,CAAC;KACjB;SAAM,IAAI,IAAI,GAAG,EAAE,EAAE;QACpB,QAAQ,GAAG,IAAI,CAAC;KACjB;SAAM,IAAI,IAAI,GAAG,EAAE,EAAE;QACpB,QAAQ,GAAG,IAAI,CAAC;KACjB;SAAM;QACL,QAAQ,GAAG,IAAI,CAAC;KACjB;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC;AAEF,MAAM,UAAU,eAAe,CAAC,OAAgE;IAC9F,OAAO,CAAC;QACN,SAAS,EAAE,QAAQ;QACnB,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,QAAQ;QAChB,KAAK,EAAE,KAAK;QACZ,cAAc,EAAE,KAAK;QACrB,OAAO,EAAE,MAAM;QACf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F,OAAO,CAAC;QACN,SAAS,EAAE,QAAQ;QACnB,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,QAAQ;QAChB,KAAK,EAAE,KAAK;QACZ,cAAc,EAAE,KAAK;QACrB,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,MAAM;KACjB,CAAC,OAAO,CAAC,IAAI,MAAM,CAAU,CAAC;AACjC,CAAC;AAw5BD,MAAM,UAAU,UAAU,CAAC,OAAqB;IAC9C,OAAO,CACL,OAAO;QACP,OAAO,CAAC,KAAK;QACb,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CACrF,CAAC;AACJ,CAAC"}
package/dist/Form.js CHANGED
@@ -73,7 +73,7 @@ export class FormLine extends React.Component {
73
73
  React.createElement(Text, null, text)));
74
74
  }
75
75
  return (React.createElement(Box, { direction: "row", display: "flex" },
76
- React.createElement(IconButton, { accessibilityLabel: "edit", icon: "cancel", iconColor: "darkGray", prefix: "far", size: "xs", onClick: () => this.setState({ editing: false }) }),
76
+ React.createElement(IconButton, { accessibilityLabel: "edit", icon: "times", iconColor: "darkGray", prefix: "far", size: "xs", onClick: () => this.setState({ editing: false }) }),
77
77
  this.props.kind === "boolean" && this.renderBooleanField(),
78
78
  this.props.kind === "multiboolean" && this.renderMultiBoolean(),
79
79
  this.props.kind === "string" && this.renderTextField(),
package/dist/Form.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Form.js","sourceRoot":"","sources":["../src/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAChC,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,E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,IAAI,CAAC,kBAAkB,EAAE;YAE/D,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,eAAe,EAAE;YACtD,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,UAAU,IAAI,IAAI,CAAC,cAAc,EAAE;YACvD,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,YAAY,EAAE;YACpD,oBAAC,GAAG,IAAC,KAAK,EAAE,EAAE;gBACZ,oBAAC,MAAM,IACL,KAAK,EAAC,MAAM,EACZ,IAAI,EAAC,IAAI,EACT,IAAI,EAAC,MAAM,EACX,OAAO,EAAE,GAAG,EAAE;wBACZ,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;wBACpC,IAAI,CAAC,QAAQ,CAAC,EAAC,OAAO,EAAE,KAAK,EAAC,CAAC,CAAC;oBAClC,CAAC,GACD,CACE,CACF,CACP,CAAC;IACJ,CAAC;CACF"}
package/dist/Icon.d.ts CHANGED
@@ -1,6 +1,4 @@
1
1
  import React from "react";
2
2
  import { IconProps } from "./Common";
3
3
  export declare function initIcons(): void;
4
- export declare class Icon extends React.Component<IconProps, {}> {
5
- render(): JSX.Element;
6
- }
4
+ export declare function Icon({ color, size, name, prefix }: IconProps): React.ReactElement;
package/dist/Icon.js CHANGED
@@ -1,4 +1,4 @@
1
- import { FontAwesome } from "@expo/vector-icons";
1
+ import { FontAwesome5 } from "@expo/vector-icons";
2
2
  import React from "react";
3
3
  import { iconSizeToNumber } from "./Common";
4
4
  import { Unifier } from "./Unifier";
@@ -6,11 +6,9 @@ export function initIcons() {
6
6
  console.debug("Initializing icons");
7
7
  }
8
8
  // TODO: Update <Icon /> to be closer to Expo's Vector Icon, letting multiple icon packs be used, etc.
9
- export class Icon extends React.Component {
10
- render() {
11
- const color = Unifier.theme[this.props.color || "primary"];
12
- const size = iconSizeToNumber(this.props.size);
13
- return React.createElement(FontAwesome, { color: color, name: this.props.name, size: size });
14
- }
9
+ export function Icon({ color, size, name, prefix }) {
10
+ const iconColor = Unifier.theme[color || "primary"];
11
+ const iconSize = iconSizeToNumber(size);
12
+ return (React.createElement(FontAwesome5, { color: iconColor, name: name, regular: prefix === "far", size: iconSize, solid: !prefix || prefix === "fas" }));
15
13
  }
16
14
  //# sourceMappingURL=Icon.js.map
package/dist/Icon.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.js","sourceRoot":"","sources":["../src/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAY,gBAAgB,EAAC,MAAM,UAAU,CAAC;AACrD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,MAAM,UAAU,SAAS;IACvB,OAAO,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;AACtC,CAAC;AAED,sGAAsG;AACtG,MAAM,OAAO,IAAK,SAAQ,KAAK,CAAC,SAAwB;IACtD,MAAM;QACJ,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,CAAC,CAAC;QAC3D,MAAM,IAAI,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC/C,OAAO,oBAAC,WAAW,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAW,EAAE,IAAI,EAAE,IAAI,GAAI,CAAC;IACjF,CAAC;CACF"}
1
+ {"version":3,"file":"Icon.js","sourceRoot":"","sources":["../src/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAChD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAY,gBAAgB,EAAC,MAAM,UAAU,CAAC;AACrD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,MAAM,UAAU,SAAS;IACvB,OAAO,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;AACtC,CAAC;AAED,sGAAsG;AACtG,MAAM,UAAU,IAAI,CAAC,EAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAY;IACzD,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,CAAC,CAAC;IACpD,MAAM,QAAQ,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACxC,OAAO,CACL,oBAAC,YAAY,IACX,KAAK,EAAE,SAAS,EAChB,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,MAAM,KAAK,KAAK,EACzB,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,CAAC,MAAM,IAAI,MAAM,KAAK,KAAK,GAClC,CACH,CAAC;AACJ,CAAC"}
package/dist/Pog.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { AllColors, IconPrefix, IconSize } from "./Common";
2
+ import { AllColors, IconName, IconPrefix, IconSize } from "./Common";
3
3
  interface Props {
4
4
  active?: boolean;
5
5
  bgColor?: "transparent" | "transparentDarkGray" | "gray" | "lightGray" | "white" | "blue";
@@ -7,7 +7,7 @@ interface Props {
7
7
  hovered?: boolean;
8
8
  selected?: boolean;
9
9
  iconColor?: AllColors;
10
- icon: string;
10
+ icon: IconName;
11
11
  iconPrefix?: IconPrefix;
12
12
  size?: IconSize;
13
13
  }
package/dist/TapToEdit.js CHANGED
@@ -78,7 +78,7 @@ export const TapToEdit = (_a) => {
78
78
  React.createElement(Box, null,
79
79
  React.createElement(Text, { overflow: "breakWord" }, displayValue)),
80
80
  editable && (React.createElement(Box, { marginLeft: 2, onClick: () => setEditing(true) },
81
- React.createElement(Icon, { color: "darkGray", name: "edit", size: "lg" }))))));
81
+ React.createElement(Icon, { color: "darkGray", name: "edit", prefix: "far", size: "md" }))))));
82
82
  }
83
83
  };
84
84
  //# sourceMappingURL=TapToEdit.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TapToEdit.js","sourceRoot":"","sources":["../src/TapToEdit.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAe,QAAQ,EAAC,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAC,KAAK,EAAa,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAmB5B,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAYT,EAAgB,EAAE;QAZT,EACxB,KAAK,EACL,QAAQ,EACR,WAAW,EACX,KAAK,EACL,MAAM,EACN,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,KAAK,EACjB,WAAW,EACX,SAAS,EACT,cAAc,OAEC,EADZ,UAAU,cAXW,8HAYzB,CADc;IAEb,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,IAAI,QAAQ,IAAI,CAAC,QAAQ,EAAE;QACzB,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;KAC7D;IAED,IAAI,QAAQ,IAAI,CAAC,OAAO,IAAI,SAAS,CAAC,EAAE;QACtC,OAAO,CACL,oBAAC,GAAG,IAAC,SAAS,EAAC,QAAQ;YACpB,cAAc,CAAC,CAAC,CAAC,CAChB,cAAc,CAAC,QAAe,CAAC,CAChC,CAAC,CAAC,CAAC,CACF,oBAAC,KAAK,kBACJ,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ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/C,KAAK,EAAE,UAAU;oBACjB,QAAQ,EAAE,KAAK;oBACf,qBAAqB,EAAE,CAAC;iBACzB,CAAC,CAAC;gBACH,YAAY,GAAG,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;aACxC;iBAAM,IAAI,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,IAAI,MAAK,aAAa,EAAE;gBAC7C,MAAM;gBACN,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACjC;SACF;QACD,OAAO,CACL,oBAAC,GAAG,kBACF,SAAS,EAAC,KAAK,EACf,cAAc,EAAC,SAAS,EACxB,QAAQ,EAAE,CAAC,EACX,QAAQ,EAAE,CAAC,EACX,KAAK,EAAC,MAAM,IACR,WAAW;YAEf,oBAAC,GAAG;gBACF,oBAAC,IAAI,IAAC,MAAM,EAAC,MAAM;oBAAE,KAAK;wBAAS,CAC/B;YACN,oBAAC,GAAG,IAAC,SAAS,EAAC,KAAK;gBAClB,oBAAC,GAAG;oBACF,oBAAC,IAAI,IAAC,QAAQ,EAAC,WAAW,IAAE,YAAY,CAAQ,CAC5C;gBACL,QAAQ,IAAI,CACX,oBAAC,GAAG,IAAC,UAAU,EAAE,CAAC,EAAE,OAAO,EAAE,GAAS,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;oBACvD,oBAAC,IAAI,IAAC,KAAK,EAAC,UAAU,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,IAAI,GAAG,CACxD,CACP,CACG,CACF,CACP,CAAC;KACH;AACH,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ferns-ui",
3
- "version": "0.21.3",
3
+ "version": "0.22.1",
4
4
  "main": "dist/index.js",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
package/src/Button.tsx CHANGED
@@ -3,7 +3,7 @@ import React, {useState} from "react";
3
3
  import {ActivityIndicator, TouchableOpacity} from "react-native";
4
4
 
5
5
  import {Box} from "./Box";
6
- import {ButtonColor, Color, GestaltIconName, IconPrefix, UnifiedTheme} from "./Common";
6
+ import {ButtonColor, Color, IconName, IconPrefix, UnifiedTheme} from "./Common";
7
7
  import {Icon} from "./Icon";
8
8
  import {Modal} from "./Modal";
9
9
  import {Text} from "./Text";
@@ -23,7 +23,7 @@ export interface ButtonProps {
23
23
  type?: "solid" | "ghost" | "outline";
24
24
  loading?: boolean;
25
25
  onClick: any;
26
- icon?: GestaltIconName | string;
26
+ icon?: IconName;
27
27
  iconPrefix?: IconPrefix;
28
28
  iconColor?: ButtonColor | Color;
29
29
  withConfirmation?: boolean;