@ephox/acid
Advanced tools
Comparing version 1.0.4 to 1.0.5
declare const _default: { | ||
sliderFactory: (translate: any, getClass: any) => import("@ephox/alloy/lib/main/ts/ephox/alloy/api/component/SpecTypes").SketchSpec; | ||
sliderFactory: (translate: any, getClass: any) => import("@ephox/alloy").SketchSpec; | ||
}; | ||
export default _default; |
@@ -0,1 +1,12 @@ | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
import { Sketcher, Form, FormField, Behaviour, Input, Invalidating, AlloyEvents, AlloyTriggers, Representing, AddEventsBehaviour, Tabstopping, Memento } from "@ephox/alloy"; | ||
@@ -54,5 +65,3 @@ import { Option, Result, Future, Id, Cell, Fun, Merger } from "@ephox/katamari"; | ||
factory: Input, | ||
inputAttributes: { | ||
type: 'text' | ||
}, | ||
inputAttributes: __assign({ type: 'text' }, name === 'hex' ? { 'aria-live': 'polite' } : {}), | ||
inputClasses: [getClass('textfield')], | ||
@@ -59,0 +68,0 @@ // Have basic invalidating and tabstopping behaviour. |
{ | ||
"name": "@ephox/acid", | ||
"description": "Color library including Alloy UI component for a color picker", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -76,3 +76,4 @@ import { Sketcher, Form, FormField, Behaviour, Input, Invalidating, AlloyEvents, AlloyTriggers, Representing, AddEventsBehaviour, Tabstopping, UiSketcher, SketchSpec, Memento, AlloyComponent } from "@ephox/alloy"; | ||
inputAttributes: { | ||
type: 'text' | ||
type: 'text', | ||
...name === 'hex' ? {'aria-live': 'polite'} : {} | ||
}, | ||
@@ -79,0 +80,0 @@ inputClasses: [ getClass('textfield') ], |
Sorry, the diff of this file is not supported yet
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
96037
1689