packages feed

reflex-dom-core 0.5.2.0 → 0.5.3

raw patch · 4 files changed

+40/−68 lines, 4 filesdep ~reflexnew-uploaderPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: reflex

API changes (from Hackage documentation)

- Reflex.Dom.Builder.Class: commentNodeConfig_initialContents :: forall t_a1jbQ. Lens' (CommentNodeConfig t_a1jbQ) Text
+ Reflex.Dom.Builder.Class: commentNodeConfig_initialContents :: forall t_aYXW. Lens' (CommentNodeConfig t_aYXW) Text
- Reflex.Dom.Builder.Class: elementConfig_eventSpec :: forall er_a1jbL t_a1jbM s_a1jbN er_a1kSt s_a1kSu. Lens (ElementConfig er_a1jbL t_a1jbM s_a1jbN) (ElementConfig er_a1kSt t_a1jbM s_a1kSu) (EventSpec s_a1jbN er_a1jbL) (EventSpec s_a1kSu er_a1kSt)
+ Reflex.Dom.Builder.Class: elementConfig_eventSpec :: forall er_aYXR t_aYXS s_aYXT er_a10Ez s_a10EA. Lens (ElementConfig er_aYXR t_aYXS s_aYXT) (ElementConfig er_a10Ez t_aYXS s_a10EA) (EventSpec s_aYXT er_aYXR) (EventSpec s_a10EA er_a10Ez)
- Reflex.Dom.Builder.Class: elementConfig_initialAttributes :: forall er_a1jbL t_a1jbM s_a1jbN. Lens' (ElementConfig er_a1jbL t_a1jbM s_a1jbN) (Map AttributeName Text)
+ Reflex.Dom.Builder.Class: elementConfig_initialAttributes :: forall er_aYXR t_aYXS s_aYXT. Lens' (ElementConfig er_aYXR t_aYXS s_aYXT) (Map AttributeName Text)
- Reflex.Dom.Builder.Class: elementConfig_namespace :: forall er_a1jbL t_a1jbM s_a1jbN. Lens' (ElementConfig er_a1jbL t_a1jbM s_a1jbN) (Maybe Namespace)
+ Reflex.Dom.Builder.Class: elementConfig_namespace :: forall er_aYXR t_aYXS s_aYXT. Lens' (ElementConfig er_aYXR t_aYXS s_aYXT) (Maybe Namespace)
- Reflex.Dom.Builder.Class: inputElementConfig_elementConfig :: forall er_a1jbF t_a1jbG s_a1jbH er_a1kRQ s_a1kRR. Lens (InputElementConfig er_a1jbF t_a1jbG s_a1jbH) (InputElementConfig er_a1kRQ t_a1jbG s_a1kRR) (ElementConfig er_a1jbF t_a1jbG s_a1jbH) (ElementConfig er_a1kRQ t_a1jbG s_a1kRR)
+ Reflex.Dom.Builder.Class: inputElementConfig_elementConfig :: forall er_aYXL t_aYXM s_aYXN er_a10DW s_a10DX. Lens (InputElementConfig er_aYXL t_aYXM s_aYXN) (InputElementConfig er_a10DW t_aYXM s_a10DX) (ElementConfig er_aYXL t_aYXM s_aYXN) (ElementConfig er_a10DW t_aYXM s_a10DX)
- Reflex.Dom.Builder.Class: inputElementConfig_initialChecked :: forall er_a1jbF t_a1jbG s_a1jbH. Lens' (InputElementConfig er_a1jbF t_a1jbG s_a1jbH) Bool
+ Reflex.Dom.Builder.Class: inputElementConfig_initialChecked :: forall er_aYXL t_aYXM s_aYXN. Lens' (InputElementConfig er_aYXL t_aYXM s_aYXN) Bool
- Reflex.Dom.Builder.Class: inputElementConfig_initialValue :: forall er_a1jbF t_a1jbG s_a1jbH. Lens' (InputElementConfig er_a1jbF t_a1jbG s_a1jbH) Text
+ Reflex.Dom.Builder.Class: inputElementConfig_initialValue :: forall er_aYXL t_aYXM s_aYXN. Lens' (InputElementConfig er_aYXL t_aYXM s_aYXN) Text
- Reflex.Dom.Builder.Class: rawElementConfig_eventSpec :: forall er_a1jbt t_a1jbu s_a1jbv er_a1kSi s_a1kSj. Lens (RawElementConfig er_a1jbt t_a1jbu s_a1jbv) (RawElementConfig er_a1kSi t_a1jbu s_a1kSj) (EventSpec s_a1jbv er_a1jbt) (EventSpec s_a1kSj er_a1kSi)
+ Reflex.Dom.Builder.Class: rawElementConfig_eventSpec :: forall er_aYXz t_aYXA s_aYXB er_a10Eo s_a10Ep. Lens (RawElementConfig er_aYXz t_aYXA s_aYXB) (RawElementConfig er_a10Eo t_aYXA s_a10Ep) (EventSpec s_aYXB er_aYXz) (EventSpec s_a10Ep er_a10Eo)
- Reflex.Dom.Builder.Class: selectElementConfig_elementConfig :: forall er_a1jbq t_a1jbr m_a1jbs er_a1kT9 m_a1kTa. Lens (SelectElementConfig er_a1jbq t_a1jbr m_a1jbs) (SelectElementConfig er_a1kT9 t_a1jbr m_a1kTa) (ElementConfig er_a1jbq t_a1jbr m_a1jbs) (ElementConfig er_a1kT9 t_a1jbr m_a1kTa)
+ Reflex.Dom.Builder.Class: selectElementConfig_elementConfig :: forall er_aYXw t_aYXx m_aYXy er_a10Ff m_a10Fg. Lens (SelectElementConfig er_aYXw t_aYXx m_aYXy) (SelectElementConfig er_a10Ff t_aYXx m_a10Fg) (ElementConfig er_aYXw t_aYXx m_aYXy) (ElementConfig er_a10Ff t_aYXx m_a10Fg)
- Reflex.Dom.Builder.Class: selectElementConfig_initialValue :: forall er_a1jbq t_a1jbr m_a1jbs. Lens' (SelectElementConfig er_a1jbq t_a1jbr m_a1jbs) Text
+ Reflex.Dom.Builder.Class: selectElementConfig_initialValue :: forall er_aYXw t_aYXx m_aYXy. Lens' (SelectElementConfig er_aYXw t_aYXx m_aYXy) Text
- Reflex.Dom.Builder.Class: textAreaElementConfig_elementConfig :: forall er_a1jbz t_a1jbA m_a1jbB er_a1kSS m_a1kST. Lens (TextAreaElementConfig er_a1jbz t_a1jbA m_a1jbB) (TextAreaElementConfig er_a1kSS t_a1jbA m_a1kST) (ElementConfig er_a1jbz t_a1jbA m_a1jbB) (ElementConfig er_a1kSS t_a1jbA m_a1kST)
+ Reflex.Dom.Builder.Class: textAreaElementConfig_elementConfig :: forall er_aYXF t_aYXG m_aYXH er_a10EY m_a10EZ. Lens (TextAreaElementConfig er_aYXF t_aYXG m_aYXH) (TextAreaElementConfig er_a10EY t_aYXG m_a10EZ) (ElementConfig er_aYXF t_aYXG m_aYXH) (ElementConfig er_a10EY t_aYXG m_a10EZ)
- Reflex.Dom.Builder.Class: textAreaElementConfig_initialValue :: forall er_a1jbz t_a1jbA m_a1jbB. Lens' (TextAreaElementConfig er_a1jbz t_a1jbA m_a1jbB) Text
+ Reflex.Dom.Builder.Class: textAreaElementConfig_initialValue :: forall er_aYXF t_aYXG m_aYXH. Lens' (TextAreaElementConfig er_aYXF t_aYXG m_aYXH) Text
- Reflex.Dom.Builder.Class: textNodeConfig_initialContents :: forall t_a1jbT. Lens' (TextNodeConfig t_a1jbT) Text
+ Reflex.Dom.Builder.Class: textNodeConfig_initialContents :: forall t_aYXZ. Lens' (TextNodeConfig t_aYXZ) Text
- Reflex.Dom.Builder.Immediate: ghcjsEventSpec_filters :: forall er_a1BAW. Lens' (GhcjsEventSpec er_a1BAW) (DMap EventName (GhcjsEventFilter er_a1BAW))
+ Reflex.Dom.Builder.Immediate: ghcjsEventSpec_filters :: forall er_a1fl1. Lens' (GhcjsEventSpec er_a1fl1) (DMap EventName (GhcjsEventFilter er_a1fl1))
- Reflex.Dom.Builder.Immediate: ghcjsEventSpec_handler :: forall er_a1BAW. Lens' (GhcjsEventSpec er_a1BAW) (GhcjsEventHandler er_a1BAW)
+ Reflex.Dom.Builder.Immediate: ghcjsEventSpec_handler :: forall er_a1fl1. Lens' (GhcjsEventSpec er_a1fl1) (GhcjsEventHandler er_a1fl1)
- Reflex.Dom.Old: elConfig_attributes :: forall attrs_a3ppV attrs_a3pr0. Lens (ElConfig attrs_a3ppV) (ElConfig attrs_a3pr0) attrs_a3ppV attrs_a3pr0
+ Reflex.Dom.Old: elConfig_attributes :: forall attrs_a2Uit attrs_a2Ujy. Lens (ElConfig attrs_a2Uit) (ElConfig attrs_a2Ujy) attrs_a2Uit attrs_a2Ujy
- Reflex.Dom.Old: elConfig_namespace :: forall attrs_a3ppV. Lens' (ElConfig attrs_a3ppV) (Maybe Text)
+ Reflex.Dom.Old: elConfig_namespace :: forall attrs_a2Uit. Lens' (ElConfig attrs_a2Uit) (Maybe Text)
- Reflex.Dom.WebSocket: webSocketConfig_close :: forall t_a3ecE a_a3ecF. Lens' (WebSocketConfig t_a3ecE a_a3ecF) (Event t_a3ecE (Word, Text))
+ Reflex.Dom.WebSocket: webSocketConfig_close :: forall t_a2JSE a_a2JSF. Lens' (WebSocketConfig t_a2JSE a_a2JSF) (Event t_a2JSE (Word, Text))
- Reflex.Dom.WebSocket: webSocketConfig_protocols :: forall t_a3ecE a_a3ecF. Lens' (WebSocketConfig t_a3ecE a_a3ecF) [Text]
+ Reflex.Dom.WebSocket: webSocketConfig_protocols :: forall t_a2JSE a_a2JSF. Lens' (WebSocketConfig t_a2JSE a_a2JSF) [Text]
- Reflex.Dom.WebSocket: webSocketConfig_reconnect :: forall t_a3ecE a_a3ecF. Lens' (WebSocketConfig t_a3ecE a_a3ecF) Bool
+ Reflex.Dom.WebSocket: webSocketConfig_reconnect :: forall t_a2JSE a_a2JSF. Lens' (WebSocketConfig t_a2JSE a_a2JSF) Bool
- Reflex.Dom.WebSocket: webSocketConfig_send :: forall t_a3ecE a_a3ecF. Lens' (WebSocketConfig t_a3ecE a_a3ecF) (Event t_a3ecE [a_a3ecF])
+ Reflex.Dom.WebSocket: webSocketConfig_send :: forall t_a2JSE a_a2JSF. Lens' (WebSocketConfig t_a2JSE a_a2JSF) (Event t_a2JSE [a_a2JSF])
- Reflex.Dom.WebSocket: webSocket_close :: forall t_a3ecB a_a3ecC. Lens' (RawWebSocket t_a3ecB a_a3ecC) (Event t_a3ecB (Bool, Word, Text))
+ Reflex.Dom.WebSocket: webSocket_close :: forall t_a2JSB a_a2JSC. Lens' (RawWebSocket t_a2JSB a_a2JSC) (Event t_a2JSB (Bool, Word, Text))
- Reflex.Dom.WebSocket: webSocket_error :: forall t_a3ecB a_a3ecC. Lens' (RawWebSocket t_a3ecB a_a3ecC) (Event t_a3ecB ())
+ Reflex.Dom.WebSocket: webSocket_error :: forall t_a2JSB a_a2JSC. Lens' (RawWebSocket t_a2JSB a_a2JSC) (Event t_a2JSB ())
- Reflex.Dom.WebSocket: webSocket_open :: forall t_a3ecB a_a3ecC. Lens' (RawWebSocket t_a3ecB a_a3ecC) (Event t_a3ecB ())
+ Reflex.Dom.WebSocket: webSocket_open :: forall t_a2JSB a_a2JSC. Lens' (RawWebSocket t_a2JSB a_a2JSC) (Event t_a2JSB ())
- Reflex.Dom.WebSocket: webSocket_recv :: forall t_a3ecB a_a3ecC. Lens' (RawWebSocket t_a3ecB a_a3ecC) (Event t_a3ecB a_a3ecC)
+ Reflex.Dom.WebSocket: webSocket_recv :: forall t_a2JSB a_a2JSC. Lens' (RawWebSocket t_a2JSB a_a2JSC) (Event t_a2JSB a_a2JSC)
- Reflex.Dom.Widget.Input: checkboxConfig_attributes :: forall t_a3vKM. Lens' (CheckboxConfig t_a3vKM) (Dynamic t_a3vKM (Map Text Text))
+ Reflex.Dom.Widget.Input: checkboxConfig_attributes :: forall t_a30zP. Lens' (CheckboxConfig t_a30zP) (Dynamic t_a30zP (Map Text Text))
- Reflex.Dom.Widget.Input: checkboxConfig_setValue :: forall t_a3vKM. Lens' (CheckboxConfig t_a3vKM) (Event t_a3vKM Bool)
+ Reflex.Dom.Widget.Input: checkboxConfig_setValue :: forall t_a30zP. Lens' (CheckboxConfig t_a30zP) (Event t_a30zP Bool)
- Reflex.Dom.Widget.Input: checkbox_change :: forall t_a3vKL. Lens' (Checkbox t_a3vKL) (Event t_a3vKL Bool)
+ Reflex.Dom.Widget.Input: checkbox_change :: forall t_a30zO. Lens' (Checkbox t_a30zO) (Event t_a30zO Bool)
- Reflex.Dom.Widget.Input: checkbox_value :: forall t_a3vKL. Lens' (Checkbox t_a3vKL) (Dynamic t_a3vKL Bool)
+ Reflex.Dom.Widget.Input: checkbox_value :: forall t_a30zO. Lens' (Checkbox t_a30zO) (Dynamic t_a30zO Bool)
- Reflex.Dom.Widget.Input: dropdownConfig_attributes :: forall t_a3vKB k_a3vKC. Lens' (DropdownConfig t_a3vKB k_a3vKC) (Dynamic t_a3vKB (Map Text Text))
+ Reflex.Dom.Widget.Input: dropdownConfig_attributes :: forall t_a30zE k_a30zF. Lens' (DropdownConfig t_a30zE k_a30zF) (Dynamic t_a30zE (Map Text Text))
- Reflex.Dom.Widget.Input: dropdownConfig_setValue :: forall t_a3vKB k_a3vKC k_a3xbv. Lens (DropdownConfig t_a3vKB k_a3vKC) (DropdownConfig t_a3vKB k_a3xbv) (Event t_a3vKB k_a3vKC) (Event t_a3vKB k_a3xbv)
+ Reflex.Dom.Widget.Input: dropdownConfig_setValue :: forall t_a30zE k_a30zF k_a320z. Lens (DropdownConfig t_a30zE k_a30zF) (DropdownConfig t_a30zE k_a320z) (Event t_a30zE k_a30zF) (Event t_a30zE k_a320z)
- Reflex.Dom.Widget.Input: dropdown_change :: forall t_a3vKD k_a3vKE. Lens' (Dropdown t_a3vKD k_a3vKE) (Event t_a3vKD k_a3vKE)
+ Reflex.Dom.Widget.Input: dropdown_change :: forall t_a30zG k_a30zH. Lens' (Dropdown t_a30zG k_a30zH) (Event t_a30zG k_a30zH)
- Reflex.Dom.Widget.Input: dropdown_value :: forall t_a3vKD k_a3vKE. Lens' (Dropdown t_a3vKD k_a3vKE) (Dynamic t_a3vKD k_a3vKE)
+ Reflex.Dom.Widget.Input: dropdown_value :: forall t_a30zG k_a30zH. Lens' (Dropdown t_a30zG k_a30zH) (Dynamic t_a30zG k_a30zH)
- Reflex.Dom.Widget.Input: fileInputConfig_attributes :: forall t_a3vKF t_a3xbc. Iso (FileInputConfig t_a3vKF) (FileInputConfig t_a3xbc) (Dynamic t_a3vKF (Map Text Text)) (Dynamic t_a3xbc (Map Text Text))
+ Reflex.Dom.Widget.Input: fileInputConfig_attributes :: forall t_a30zI t_a320g. Iso (FileInputConfig t_a30zI) (FileInputConfig t_a320g) (Dynamic t_a30zI (Map Text Text)) (Dynamic t_a320g (Map Text Text))
- Reflex.Dom.Widget.Input: fileInput_element :: forall d_a3vKG t_a3vKH d_a3xbi. Lens (FileInput d_a3vKG t_a3vKH) (FileInput d_a3xbi t_a3vKH) (RawInputElement d_a3vKG) (RawInputElement d_a3xbi)
+ Reflex.Dom.Widget.Input: fileInput_element :: forall d_a30zJ t_a30zK d_a320m. Lens (FileInput d_a30zJ t_a30zK) (FileInput d_a320m t_a30zK) (RawInputElement d_a30zJ) (RawInputElement d_a320m)
- Reflex.Dom.Widget.Input: fileInput_value :: forall d_a3vKG t_a3vKH t_a3xbj. Lens (FileInput d_a3vKG t_a3vKH) (FileInput d_a3vKG t_a3xbj) (Dynamic t_a3vKH [File]) (Dynamic t_a3xbj [File])
+ Reflex.Dom.Widget.Input: fileInput_value :: forall d_a30zJ t_a30zK t_a320n. Lens (FileInput d_a30zJ t_a30zK) (FileInput d_a30zJ t_a320n) (Dynamic t_a30zK [File]) (Dynamic t_a320n [File])
- Reflex.Dom.Widget.Input: rangeInputConfig_attributes :: forall t_a3vKQ. Lens' (RangeInputConfig t_a3vKQ) (Dynamic t_a3vKQ (Map Text Text))
+ Reflex.Dom.Widget.Input: rangeInputConfig_attributes :: forall t_a30zT. Lens' (RangeInputConfig t_a30zT) (Dynamic t_a30zT (Map Text Text))
- Reflex.Dom.Widget.Input: rangeInputConfig_initialValue :: forall t_a3vKQ. Lens' (RangeInputConfig t_a3vKQ) Float
+ Reflex.Dom.Widget.Input: rangeInputConfig_initialValue :: forall t_a30zT. Lens' (RangeInputConfig t_a30zT) Float
- Reflex.Dom.Widget.Input: rangeInputConfig_setValue :: forall t_a3vKQ. Lens' (RangeInputConfig t_a3vKQ) (Event t_a3vKQ Float)
+ Reflex.Dom.Widget.Input: rangeInputConfig_setValue :: forall t_a30zT. Lens' (RangeInputConfig t_a30zT) (Event t_a30zT Float)
- Reflex.Dom.Widget.Input: rangeInput_element :: forall t_a3vKP. Lens' (RangeInput t_a3vKP) HTMLInputElement
+ Reflex.Dom.Widget.Input: rangeInput_element :: forall t_a30zS. Lens' (RangeInput t_a30zS) HTMLInputElement
- Reflex.Dom.Widget.Input: rangeInput_hasFocus :: forall t_a3vKP. Lens' (RangeInput t_a3vKP) (Dynamic t_a3vKP Bool)
+ Reflex.Dom.Widget.Input: rangeInput_hasFocus :: forall t_a30zS. Lens' (RangeInput t_a30zS) (Dynamic t_a30zS Bool)
- Reflex.Dom.Widget.Input: rangeInput_input :: forall t_a3vKP. Lens' (RangeInput t_a3vKP) (Event t_a3vKP Float)
+ Reflex.Dom.Widget.Input: rangeInput_input :: forall t_a30zS. Lens' (RangeInput t_a30zS) (Event t_a30zS Float)
- Reflex.Dom.Widget.Input: rangeInput_mouseup :: forall t_a3vKP. Lens' (RangeInput t_a3vKP) (Event t_a3vKP (Int, Int))
+ Reflex.Dom.Widget.Input: rangeInput_mouseup :: forall t_a30zS. Lens' (RangeInput t_a30zS) (Event t_a30zS (Int, Int))
- Reflex.Dom.Widget.Input: rangeInput_value :: forall t_a3vKP. Lens' (RangeInput t_a3vKP) (Dynamic t_a3vKP Float)
+ Reflex.Dom.Widget.Input: rangeInput_value :: forall t_a30zS. Lens' (RangeInput t_a30zS) (Dynamic t_a30zS Float)
- Reflex.Dom.Widget.Input: textAreaConfig_attributes :: forall t_a3vKO. Lens' (TextAreaConfig t_a3vKO) (Dynamic t_a3vKO (Map Text Text))
+ Reflex.Dom.Widget.Input: textAreaConfig_attributes :: forall t_a30zR. Lens' (TextAreaConfig t_a30zR) (Dynamic t_a30zR (Map Text Text))
- Reflex.Dom.Widget.Input: textAreaConfig_initialValue :: forall t_a3vKO. Lens' (TextAreaConfig t_a3vKO) Text
+ Reflex.Dom.Widget.Input: textAreaConfig_initialValue :: forall t_a30zR. Lens' (TextAreaConfig t_a30zR) Text
- Reflex.Dom.Widget.Input: textAreaConfig_setValue :: forall t_a3vKO. Lens' (TextAreaConfig t_a3vKO) (Event t_a3vKO Text)
+ Reflex.Dom.Widget.Input: textAreaConfig_setValue :: forall t_a30zR. Lens' (TextAreaConfig t_a30zR) (Event t_a30zR Text)
- Reflex.Dom.Widget.Input: textArea_element :: forall t_a3vKN. Lens' (TextArea t_a3vKN) HTMLTextAreaElement
+ Reflex.Dom.Widget.Input: textArea_element :: forall t_a30zQ. Lens' (TextArea t_a30zQ) HTMLTextAreaElement
- Reflex.Dom.Widget.Input: textArea_hasFocus :: forall t_a3vKN. Lens' (TextArea t_a3vKN) (Dynamic t_a3vKN Bool)
+ Reflex.Dom.Widget.Input: textArea_hasFocus :: forall t_a30zQ. Lens' (TextArea t_a30zQ) (Dynamic t_a30zQ Bool)
- Reflex.Dom.Widget.Input: textArea_input :: forall t_a3vKN. Lens' (TextArea t_a3vKN) (Event t_a3vKN Text)
+ Reflex.Dom.Widget.Input: textArea_input :: forall t_a30zQ. Lens' (TextArea t_a30zQ) (Event t_a30zQ Text)
- Reflex.Dom.Widget.Input: textArea_keypress :: forall t_a3vKN. Lens' (TextArea t_a3vKN) (Event t_a3vKN Word)
+ Reflex.Dom.Widget.Input: textArea_keypress :: forall t_a30zQ. Lens' (TextArea t_a30zQ) (Event t_a30zQ Word)
- Reflex.Dom.Widget.Input: textArea_value :: forall t_a3vKN. Lens' (TextArea t_a3vKN) (Dynamic t_a3vKN Text)
+ Reflex.Dom.Widget.Input: textArea_value :: forall t_a30zQ. Lens' (TextArea t_a30zQ) (Dynamic t_a30zQ Text)
- Reflex.Dom.Widget.Input: textInputConfig_attributes :: forall t_a3vKR. Lens' (TextInputConfig t_a3vKR) (Dynamic t_a3vKR (Map Text Text))
+ Reflex.Dom.Widget.Input: textInputConfig_attributes :: forall t_a30zU. Lens' (TextInputConfig t_a30zU) (Dynamic t_a30zU (Map Text Text))
- Reflex.Dom.Widget.Input: textInputConfig_initialValue :: forall t_a3vKR. Lens' (TextInputConfig t_a3vKR) Text
+ Reflex.Dom.Widget.Input: textInputConfig_initialValue :: forall t_a30zU. Lens' (TextInputConfig t_a30zU) Text
- Reflex.Dom.Widget.Input: textInputConfig_inputType :: forall t_a3vKR. Lens' (TextInputConfig t_a3vKR) Text
+ Reflex.Dom.Widget.Input: textInputConfig_inputType :: forall t_a30zU. Lens' (TextInputConfig t_a30zU) Text
- Reflex.Dom.Widget.Input: textInputConfig_setValue :: forall t_a3vKR. Lens' (TextInputConfig t_a3vKR) (Event t_a3vKR Text)
+ Reflex.Dom.Widget.Input: textInputConfig_setValue :: forall t_a30zU. Lens' (TextInputConfig t_a30zU) (Event t_a30zU Text)
- Reflex.Dom.Widget.Input: textInput_builderElement :: forall t_a3vKS. Lens' (TextInput t_a3vKS) (InputElement EventResult GhcjsDomSpace t_a3vKS)
+ Reflex.Dom.Widget.Input: textInput_builderElement :: forall t_a30zV. Lens' (TextInput t_a30zV) (InputElement EventResult GhcjsDomSpace t_a30zV)
- Reflex.Dom.Widget.Input: textInput_hasFocus :: forall t_a3vKS. Lens' (TextInput t_a3vKS) (Dynamic t_a3vKS Bool)
+ Reflex.Dom.Widget.Input: textInput_hasFocus :: forall t_a30zV. Lens' (TextInput t_a30zV) (Dynamic t_a30zV Bool)
- Reflex.Dom.Widget.Input: textInput_input :: forall t_a3vKS. Lens' (TextInput t_a3vKS) (Event t_a3vKS Text)
+ Reflex.Dom.Widget.Input: textInput_input :: forall t_a30zV. Lens' (TextInput t_a30zV) (Event t_a30zV Text)
- Reflex.Dom.Widget.Input: textInput_keydown :: forall t_a3vKS. Lens' (TextInput t_a3vKS) (Event t_a3vKS Word)
+ Reflex.Dom.Widget.Input: textInput_keydown :: forall t_a30zV. Lens' (TextInput t_a30zV) (Event t_a30zV Word)
- Reflex.Dom.Widget.Input: textInput_keypress :: forall t_a3vKS. Lens' (TextInput t_a3vKS) (Event t_a3vKS Word)
+ Reflex.Dom.Widget.Input: textInput_keypress :: forall t_a30zV. Lens' (TextInput t_a30zV) (Event t_a30zV Word)
- Reflex.Dom.Widget.Input: textInput_keyup :: forall t_a3vKS. Lens' (TextInput t_a3vKS) (Event t_a3vKS Word)
+ Reflex.Dom.Widget.Input: textInput_keyup :: forall t_a30zV. Lens' (TextInput t_a30zV) (Event t_a30zV Word)
- Reflex.Dom.Widget.Input: textInput_value :: forall t_a3vKS. Lens' (TextInput t_a3vKS) (Dynamic t_a3vKS Text)
+ Reflex.Dom.Widget.Input: textInput_value :: forall t_a30zV. Lens' (TextInput t_a30zV) (Dynamic t_a30zV Text)
- Reflex.Dom.Xhr: xhrRequestConfig_headers :: forall a_a3S26. Lens' (XhrRequestConfig a_a3S26) (Map Text Text)
+ Reflex.Dom.Xhr: xhrRequestConfig_headers :: forall a_a3iEV. Lens' (XhrRequestConfig a_a3iEV) (Map Text Text)
- Reflex.Dom.Xhr: xhrRequestConfig_password :: forall a_a3S26. Lens' (XhrRequestConfig a_a3S26) (Maybe Text)
+ Reflex.Dom.Xhr: xhrRequestConfig_password :: forall a_a3iEV. Lens' (XhrRequestConfig a_a3iEV) (Maybe Text)
- Reflex.Dom.Xhr: xhrRequestConfig_responseHeaders :: forall a_a3S26. Lens' (XhrRequestConfig a_a3S26) XhrResponseHeaders
+ Reflex.Dom.Xhr: xhrRequestConfig_responseHeaders :: forall a_a3iEV. Lens' (XhrRequestConfig a_a3iEV) XhrResponseHeaders
- Reflex.Dom.Xhr: xhrRequestConfig_responseType :: forall a_a3S26. Lens' (XhrRequestConfig a_a3S26) (Maybe XhrResponseType)
+ Reflex.Dom.Xhr: xhrRequestConfig_responseType :: forall a_a3iEV. Lens' (XhrRequestConfig a_a3iEV) (Maybe XhrResponseType)
- Reflex.Dom.Xhr: xhrRequestConfig_sendData :: forall a_a3S26 a_a3Tpv. Lens (XhrRequestConfig a_a3S26) (XhrRequestConfig a_a3Tpv) a_a3S26 a_a3Tpv
+ Reflex.Dom.Xhr: xhrRequestConfig_sendData :: forall a_a3iEV a_a3k2o. Lens (XhrRequestConfig a_a3iEV) (XhrRequestConfig a_a3k2o) a_a3iEV a_a3k2o
- Reflex.Dom.Xhr: xhrRequestConfig_user :: forall a_a3S26. Lens' (XhrRequestConfig a_a3S26) (Maybe Text)
+ Reflex.Dom.Xhr: xhrRequestConfig_user :: forall a_a3iEV. Lens' (XhrRequestConfig a_a3iEV) (Maybe Text)
- Reflex.Dom.Xhr: xhrRequestConfig_withCredentials :: forall a_a3S26. Lens' (XhrRequestConfig a_a3S26) Bool
+ Reflex.Dom.Xhr: xhrRequestConfig_withCredentials :: forall a_a3iEV. Lens' (XhrRequestConfig a_a3iEV) Bool
- Reflex.Dom.Xhr: xhrRequest_config :: forall a_a3S27 a_a3Tpe. Lens (XhrRequest a_a3S27) (XhrRequest a_a3Tpe) (XhrRequestConfig a_a3S27) (XhrRequestConfig a_a3Tpe)
+ Reflex.Dom.Xhr: xhrRequest_config :: forall a_a3iEW a_a3k27. Lens (XhrRequest a_a3iEW) (XhrRequest a_a3k27) (XhrRequestConfig a_a3iEW) (XhrRequestConfig a_a3k27)
- Reflex.Dom.Xhr: xhrRequest_method :: forall a_a3S27. Lens' (XhrRequest a_a3S27) Text
+ Reflex.Dom.Xhr: xhrRequest_method :: forall a_a3iEW. Lens' (XhrRequest a_a3iEW) Text
- Reflex.Dom.Xhr: xhrRequest_url :: forall a_a3S27. Lens' (XhrRequest a_a3S27) Text
+ Reflex.Dom.Xhr: xhrRequest_url :: forall a_a3iEW. Lens' (XhrRequest a_a3iEW) Text

Files

ChangeLog.md view
@@ -1,6 +1,25 @@ # Revision history for reflex-dom-core -## Unreleased+## 0.5.3++* Deprecate a number of old inflexible widget helpers in `Reflex.Dom.Widget.Basic`:++   * `Link`+   * `button`+   * `dtdd`+   * `linkClass`+   * `link`+   * `tabDisplay`+   * `tableDynAttr`++  And in `Reflex.Dom.Widget.Input`:++   * `TextInput`+   * `TextAreaConfig`+   * `CheckboxConfig`+   * `FileInput`++ * Add `< 0.7` upper bound for reflex  ## 0.5.2 
reflex-dom-core.cabal view
@@ -1,5 +1,5 @@ Name: reflex-dom-core-Version: 0.5.2.0+Version: 0.5.3 Synopsis: Functional Reactive Web Apps with Reflex Description: Reflex-DOM is a Functional Reactive web framework based on the Reflex FRP engine License: BSD3@@ -63,7 +63,7 @@     directory >= 1.2 && < 1.4,     exception-transformers == 0.4.*,     ghcjs-dom >= 0.9.1.0 && < 0.10,-    jsaddle >=0.9.0.0 && <0.10,+    jsaddle >= 0.9.0.0 && < 0.10,     -- keycode-0.2 has a bug on firefox     keycode >= 0.2.1 && < 0.3,     lens >= 4.7 && < 5,@@ -72,7 +72,7 @@     primitive >= 0.5 && < 0.7,     random,     ref-tf == 0.4.*,-    reflex >= 0.6.2,+    reflex >= 0.6.2 && < 0.7,     semigroups >= 0.16 && < 0.19,     stm >= 2.4 && < 2.6,     text == 1.2.*,
src/Reflex/Dom/Widget/Basic.hs view
@@ -138,6 +138,7 @@ display :: (PostBuild t m, DomBuilder t m, Show a) => Dynamic t a -> m () display = dynText . fmap (T.pack . show) +{-# DEPRECATED button "Use 'elAttr'' in combination with 'domEvent' instead" #-} button :: DomBuilder t m => Text -> m (Event t ()) button t = do   (e, _) <- element "button" def $ text t@@ -145,7 +146,9 @@  --TODO: Should this be renamed to 'widgetView' for consistency with 'widgetHold'? -- | Given a Dynamic of widget-creating actions, create a widget that is recreated whenever the Dynamic updates.---   The returned Event of widget results occurs when the Dynamic does.+--   The returned Event occurs whenever the child widget is updated, which is+--   at post-build in addition to the times at which the input Dynamic is+--   updated, and its value is the result of running the widget. --   Note:  Often, the type @a@ is an 'Event', in which case the return value is an Event-of-Events that would typically be flattened (via 'switchHold'). dyn :: (Adjustable t m, NotReady t m, PostBuild t m) => Dynamic t (m a) -> m (Event t a) dyn = networkView@@ -269,45 +272,25 @@         return $ if Map.null p then Nothing else Just p   return modificationsNeeded ------------------------------------------------------------------------------------ Copied and pasted from Reflex.Widget.Class-----------------------------------------------------------------------------------{--schedulePostBuild x = performEvent_ . (x <$) =<< getPostBuild--elDynHtml' :: DomBuilder t m => Text -> Dynamic t Text -> m (El t)-elDynHtml' elementTag html = do-  e <- buildEmptyElement elementTag (Map.empty :: Map Text Text)-  schedulePostBuild $ setInnerHTML e . Just =<< sample (current html)-  performEvent_ $ fmap (setInnerHTML e . Just) $ updated html-  wrapElement defaultDomEventHandler e--elDynHtmlAttr' :: DomBuilder t m => Text -> Map Text Text -> Dynamic t Text -> m (El t)-elDynHtmlAttr' elementTag attrs html = do-  e <- buildEmptyElement elementTag attrs-  schedulePostBuild $ setInnerHTML e . Just =<< sample (current html)-  performEvent_ $ fmap (setInnerHTML e . Just) $ updated html-  wrapElement defaultDomEventHandler e--}-+{-# DEPRECATED Link "Will be removed when 'linkClass' and 'link' are removed. Follow those functions' deprecation instructions." #-} newtype Link t   = Link { _link_clicked :: Event t ()          } --- | >>> linkClass "Click here" "link-class"--- > <a class="link-class">Click here</a>+{-# DEPRECATED linkClass "Use 'elAttr'' in combination with 'domEvent' for just clicks. Use 'routeLink' for Obelisk navigation" #-} linkClass :: DomBuilder t m => Text -> Text -> m (Link t) linkClass s c = do   (l,_) <- elAttr' "a" ("class" =: c) $ text s   return $ Link $ domEvent Click l +{-# DEPRECATED link "Use 'elAttr'' in combination with 'domEvent' for just clicks. Use 'routeLink' for Obelisk navigation" #-} link :: DomBuilder t m => Text -> m (Link t) link s = linkClass s ""  divClass :: forall t m a. DomBuilder t m => Text -> m a -> m a divClass = elClass "div" +{-# DEPRECATED dtdd "Use an application specific widget generating function" #-} dtdd :: forall t m a. DomBuilder t m => Text -> m a -> m a dtdd h w = do   el "dt" $ text h@@ -316,7 +299,9 @@ blank :: forall m. Monad m => m () blank = return () +-- TODO: Move to an example project. -- | A widget to display a table with static columns and dynamic rows.+{-# DEPRECATED tableDynAttr "Use an application specific widget generating function" #-} tableDynAttr :: forall t m r k v. (Ord k, DomBuilder t m, MonadHold t m, PostBuild t m, MonadFix m)   => Text                                   -- ^ Class applied to <table> element   -> [(Text, k -> Dynamic t r -> m v)]      -- ^ Columns of (header, row key -> row value -> child widget)@@ -332,9 +317,11 @@           dAttrs <- rowAttrs k           elDynAttr' "tr" dAttrs $ mapM (\x -> el "td" $ snd x k r) cols) +-- TODO: Move to an example project. -- | A widget to construct a tabbed view that shows only one of its child widgets at a time. --   Creates a header bar containing a <ul> with one <li> per child; clicking a <li> displays --   the corresponding child and hides all others.+{-# DEPRECATED tabDisplay "Use an application specific widget generating function" #-} tabDisplay :: forall t m k. (MonadFix m, DomBuilder t m, MonadHold t m, PostBuild t m, Ord k)   => Text               -- ^ Class applied to <ul> element   -> Text               -- ^ Class applied to currently active <li> element
src/Reflex/Dom/Widget/Input.hs view
@@ -54,6 +54,7 @@ import qualified GHCJS.DOM.Event as Event import qualified GHCJS.DOM.HTMLInputElement as Input +{-# DEPRECATED TextInput, _textInput_element, TextInputConfig, textInput "Use 'inputElement' directly" #-} data TextInput t    = TextInput { _textInput_value :: Dynamic t Text                , _textInput_input :: Event t Text@@ -161,6 +162,7 @@     , _rangeInput_element = _inputElement_raw i     } +{-# DEPRECATED TextAreaConfig, TextArea, textArea "Use 'textAreaElement' directly" #-} data TextAreaConfig t    = TextAreaConfig { _textAreaConfig_initialValue :: Text                     , _textAreaConfig_setValue :: Event t Text@@ -198,6 +200,7 @@     , _textArea_element = _textAreaElement_raw i     } +{-# DEPRECATED CheckboxConfig, Checkbox, checkbox, checkboxView, CheckboxViewEventResultType, regularToCheckboxViewEventType, CheckboxViewEventResult "Use 'inputElement' directly" #-} data CheckboxConfig t     = CheckboxConfig { _checkboxConfig_setValue :: Event t Bool                      , _checkboxConfig_attributes :: Dynamic t (Map Text Text)@@ -287,7 +290,7 @@  newtype CheckboxViewEventResult en = CheckboxViewEventResult { unCheckboxViewEventResult :: CheckboxViewEventResultType en } ---TODO+-- | Create a view only checkbox {-# INLINABLE checkboxView #-} checkboxView :: forall t m. (DomBuilder t m, DomBuilderSpace m ~ GhcjsDomSpace, PostBuild t m, MonadHold t m) => Dynamic t (Map Text Text) -> Dynamic t Bool -> m (Event t Bool) checkboxView dAttrs dValue = do@@ -321,6 +324,7 @@   i <- inputElement inputElementConfig   return $ unCheckboxViewEventResult <$> select (_element_events $ _inputElement_element i) (WrapArg Click) +{-# DEPRECATED FileInput, FileInputConfig, fileInput "Use 'inputElement' directly" #-} data FileInput d t    = FileInput { _fileInput_value :: Dynamic t [File]                , _fileInput_element :: RawInputElement d@@ -681,41 +685,3 @@ instance HasValue (Checkbox t) where   type Value (Checkbox t) = Dynamic t Bool   value = _checkbox_value--{--type family Controller sm t a where-  Controller Edit t a = (a, Event t a) -- Initial value and setter-  Controller View t a = Dynamic t a -- Value (always)--type family Output sm t a where-  Output Edit t a = Dynamic t a -- Value (always)-  Output View t a = Event t a -- Requested changes--data CheckboxConfig sm t-   = CheckboxConfig { _checkbox_input :: Controller sm t Bool-                    , _checkbox_attributes :: Attributes-                    }--instance Reflex t => Default (CheckboxConfig Edit t) where-  def = CheckboxConfig (False, never) mempty--data Checkbox sm t-  = Checkbox { _checkbox_output :: Output sm t Bool-             }--data StateMode = Edit | View----TODO: There must be a more generic way to get this witness and allow us to case on the type-level StateMode-data StateModeWitness (sm :: StateMode) where-  EditWitness :: StateModeWitness Edit-  ViewWitness :: StateModeWitness View--class HasStateModeWitness (sm :: StateMode) where-  stateModeWitness :: StateModeWitness sm--instance HasStateModeWitness Edit where-  stateModeWitness = EditWitness--instance HasStateModeWitness View where-  stateModeWitness = ViewWitness--}