lucid-extension-sdk
Advanced tools
Comparing version 0.0.241 to 0.0.242
@@ -51,4 +51,21 @@ /** @ignore */ | ||
declare enum ListStyles { | ||
LONG = 'long', | ||
SHORT = 'short', | ||
NARROW = 'narrow', | ||
} | ||
declare enum ListTypes { | ||
AND = 'conjunction', | ||
OR = 'disjunction', | ||
UNIT_LIST = 'unit', | ||
} | ||
declare type FormattedListParams = { | ||
style: ListStyles; | ||
type: ListTypes; | ||
}; | ||
declare class I18nFormattedList {} | ||
declare interface I18nReplacement { | ||
[s: string]: number | string | I18nSafeString | I18nFormattedNumber; | ||
[s: string]: number | string | string[] | I18nSafeString | I18nFormattedNumber | I18nFormattedList; | ||
} | ||
@@ -62,2 +79,3 @@ | ||
function formatNumber(value: number, params: I18nFormattedNumberParams): I18nFormattedNumber; | ||
function formatList(value: string[], params?: I18nFormattedListParams): I18nFormattedList; | ||
} |
{ | ||
"name": "lucid-extension-sdk", | ||
"version": "0.0.241", | ||
"version": "0.0.242", | ||
"description": "Utility classes for writing Lucid Software editor extensions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
739322
17129